Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008117/0.008117, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.786/2.786, allocations: 462.7 MB / 0.7364 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003715, allocations: 16.16 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3617, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04153/0.4033, allocations: 36.03 MB / 1.094 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02202/0.4254, allocations: 13.64 MB / 1.107 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003084/0.4285, allocations: 91.69 kB / 1.107 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.4302, allocations: 0.5972 MB / 1.108 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003546/0.4337, allocations: 1.355 MB / 1.109 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004691/0.4384, allocations: 1.936 MB / 1.111 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.009477/0.4479, allocations: 9.573 MB / 1.12 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01778/0.4657, allocations: 11.92 MB / 1.132 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005298/0.4711, allocations: 1.837 MB / 1.134 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005465/0.4766, allocations: 2.71 MB / 1.136 GB, free: 5.5 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009169/0.4776, allocations: 252 kB / 1.137 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.4801, allocations: 1.084 MB / 1.138 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002264/0.4823, allocations: 1.992 MB / 1.14 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002406/0.4848, allocations: 2.023 MB / 1.142 GB, free: 136 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008059/0.4928, allocations: 8.695 MB / 1.15 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4929, allocations: 0 / 1.15 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4929, allocations: 0 / 1.15 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002097/0.4931, allocations: 0 / 1.15 GB, free: 7.41 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.007432/0.5005, allocations: 3.41 MB / 1.154 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.5006, allocations: 11.97 kB / 1.154 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00515/0.5057, allocations: 1.034 MB / 1.155 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003995/0.5097, allocations: 2.198 MB / 1.157 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.51, allocations: 329 kB / 1.157 GB, free: 324 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009196/0.5109, allocations: 424.4 kB / 1.157 GB, free: 15.9 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/0.5252, allocations: 7.405 MB / 1.165 GB, free: 8.262 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.5253, allocations: 19.83 kB / 1.165 GB, free: 8.242 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005146/0.5259, allocations: 184 kB / 1.165 GB, free: 8.062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003118/0.5262, allocations: 282.9 kB / 1.165 GB, free: 7.785 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01334/0.5395, allocations: 6.03 MB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04049/0.58, allocations: 32.72 MB / 1.203 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003839/0.5839, allocations: 2.142 MB / 1.205 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.5856, allocations: 1.248 MB / 1.206 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.5858, allocations: 106 kB / 1.206 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/0.5859, allocations: 51.48 kB / 1.206 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=98): time 2.455e-06/0.5859, allocations: 0 / 1.206 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of matching and sorting (n=101): time 0.008138/0.594, allocations: 5.278 MB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.179e-05/0.5942, allocations: 145.5 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.5962, allocations: 1.472 MB / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.5964, allocations: 45.7 kB / 1.213 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001231/0.5976, allocations: 1.859 MB / 1.215 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003814/0.598, allocations: 371 kB / 1.215 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.5983, allocations: 173.8 kB / 1.216 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.5984, allocations: 301.1 kB / 1.216 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.6002, allocations: 1.144 MB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002604/0.6028, allocations: 2.215 MB / 1.219 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004465/0.6073, allocations: 3.442 MB / 1.222 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.625e-05/0.6073, allocations: 8 kB / 1.222 GB, free: 9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005451/0.6128, allocations: 3.378 MB / 1.226 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008825/0.6137, allocations: 1.08 MB / 1.227 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.484e-05/0.6137, allocations: 36 kB / 1.227 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.408e-05/0.6138, allocations: 52 kB / 1.227 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/0.616, allocations: 0.6317 MB / 1.228 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.843e-05/0.6161, allocations: 67.73 kB / 1.228 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/0.6183, allocations: 326.7 kB / 1.228 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.6186, allocations: 116 kB / 1.228 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.6186, allocations: 4 kB / 1.228 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004692/0.6233, allocations: 2.808 MB / 1.231 GB, free: 24 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.197e-05/0.6234, allocations: 36.05 kB / 1.231 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-05/0.6234, allocations: 48.88 kB / 1.231 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.6252, allocations: 0.5653 MB / 1.231 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.226e-05/0.6253, allocations: 71.72 kB / 1.231 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.627, allocations: 247 kB / 1.232 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.6272, allocations: 115.9 kB / 1.232 GB, free: 14.95 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003078/0.6303, allocations: 1.698 MB / 1.233 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003954/0.6307, allocations: 158.1 kB / 1.234 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/0.6343, allocations: 2.258 MB / 1.236 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.6343, allocations: 8 kB / 1.236 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.6343, allocations: 4 kB / 1.236 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.6343, allocations: 7.922 kB / 1.236 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6403/1.275, allocations: 10.99 MB / 1.247 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.66e-05/1.275, allocations: 11.16 kB / 1.247 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/1.276, allocations: 389.5 kB / 1.247 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.537e-05/1.277, allocations: 17.11 kB / 1.247 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.916e-05/1.277, allocations: 31.42 kB / 1.247 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.691e-05/1.277, allocations: 26.38 kB / 1.247 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-05/1.277, allocations: 16.53 kB / 1.247 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003534/1.28, allocations: 2.766 MB / 1.25 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008342/1.281, allocations: 477.7 kB / 1.25 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/1.281, allocations: 37.44 kB / 1.25 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.283, allocations: 178 kB / 1.25 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/1.283, allocations: 97.73 kB / 1.25 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.377e-05/1.283, allocations: 44.72 kB / 1.251 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001359/1.284, allocations: 1.004 MB / 1.252 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.284, allocations: 0 / 1.252 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003856/1.288, allocations: 1.13 MB / 1.253 GB, free: 169.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002916/1.288, allocations: 151.3 kB / 1.253 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006504/1.295, allocations: 4.043 MB / 1.257 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-05/1.295, allocations: 2.938 kB / 1.257 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001879/1.297, allocations: 1.059 MB / 1.258 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0051/1.302, allocations: 409.6 kB / 1.258 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/1.319, allocations: 8.8 MB / 1.267 GB, free: 165 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004036/1.323, allocations: 2.866 MB / 1.27 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003968/1.327, allocations: 1.23 MB / 1.271 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006007/1.327, allocations: 126.9 kB / 1.271 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.523e-06/1.327, allocations: 3.844 kB / 1.271 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.04851/1.376, allocations: 24.18 MB / 1.294 GB, free: 157.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches