Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001421, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001693/0.001693, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.941/2.941, allocations: 461.9 MB / 0.7342 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 69.53 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3257, allocations: 157.4 MB / 1.052 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02388/0.3497, allocations: 20.27 MB / 1.072 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01287/0.3626, allocations: 7.74 MB / 1.079 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.3649, allocations: 51.81 kB / 1.08 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003656/0.3686, allocations: 1.26 MB / 1.081 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002969/0.3716, allocations: 0.938 MB / 1.082 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00501/0.3766, allocations: 1.843 MB / 1.083 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006947/0.3836, allocations: 6.441 MB / 1.09 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01098/0.3946, allocations: 6.877 MB / 1.096 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002945/0.3976, allocations: 1.546 MB / 1.098 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003932/0.4015, allocations: 2.251 MB / 1.1 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001422/0.403, allocations: 292 kB / 1.1 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003363/0.4064, allocations: 0.9673 MB / 1.101 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003035/0.4094, allocations: 1.528 MB / 1.103 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.004407/0.4139, allocations: 1.571 MB / 1.104 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009934/0.4238, allocations: 6.088 MB / 1.11 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4239, allocations: 0 / 1.11 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4239, allocations: 3.938 kB / 1.11 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002572/0.4242, allocations: 0 / 1.11 GB, free: 12.94 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.009702/0.4339, allocations: 3.045 MB / 1.113 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.4339, allocations: 8.031 kB / 1.113 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003847/0.4378, allocations: 0.7545 MB / 1.114 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003513/0.4413, allocations: 1.544 MB / 1.116 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.4416, allocations: 214.2 kB / 1.116 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007893/0.4424, allocations: 288.3 kB / 1.116 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.4537, allocations: 5.082 MB / 1.121 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.993e-05/0.4538, allocations: 7.938 kB / 1.121 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004519/0.4543, allocations: 120 kB / 1.121 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003603/0.4547, allocations: 208.6 kB / 1.121 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008181/0.4629, allocations: 4.224 MB / 1.125 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0298/0.4927, allocations: 23.07 MB / 1.148 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00326/0.496, allocations: 1.735 MB / 1.15 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.4979, allocations: 1.132 MB / 1.151 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.4981, allocations: 105.7 kB / 1.151 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/0.4981, allocations: 47.16 kB / 1.151 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=84): time 2.625e-06/0.4982, allocations: 0 / 1.151 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of matching and sorting (n=87): time 0.007101/0.5053, allocations: 4.012 MB / 1.155 GB, free: 12.8 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.929e-05/0.5054, allocations: 145.2 kB / 1.155 GB, free: 12.62 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.5067, allocations: 0.8643 MB / 1.156 GB, free: 11.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.5068, allocations: 37.7 kB / 1.156 GB, free: 11.71 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.5079, allocations: 1.162 MB / 1.157 GB, free: 10.53 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003878/0.5083, allocations: 315.6 kB / 1.157 GB, free: 10.21 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004889/0.5088, allocations: 270.6 kB / 1.158 GB, free: 9.945 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002411/0.509, allocations: 410.7 kB / 1.158 GB, free: 9.535 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.5104, allocations: 0.8257 MB / 1.159 GB, free: 8.703 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.5121, allocations: 1.306 MB / 1.16 GB, free: 7.176 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002867/0.515, allocations: 2.167 MB / 1.162 GB, free: 4.816 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.632e-05/0.515, allocations: 11.94 kB / 1.162 GB, free: 4.805 MB / 0.92 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00364/0.5187, allocations: 2.214 MB / 1.164 GB, free: 2.586 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.5187, allocations: 12 kB / 1.164 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.5188, allocations: 16 kB / 1.164 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.977e-05/0.5188, allocations: 23.98 kB / 1.164 GB, free: 2.535 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.5205, allocations: 415.7 kB / 1.165 GB, free: 2.129 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-05/0.5205, allocations: 27.88 kB / 1.165 GB, free: 2.102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.5219, allocations: 215.2 kB / 1.165 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.522, allocations: 63.98 kB / 1.165 GB, free: 1.828 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002774/0.5248, allocations: 1.679 MB / 1.167 GB, free: 148 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001476/0.5263, allocations: 1.194 MB / 1.168 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002411/0.5287, allocations: 1.902 MB / 1.17 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.768e-06/0.5288, allocations: 7.938 kB / 1.17 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003091/0.5319, allocations: 1.921 MB / 1.172 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.5319, allocations: 16.98 kB / 1.172 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.5319, allocations: 16 kB / 1.172 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.5319, allocations: 28 kB / 1.172 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.5333, allocations: 359.4 kB / 1.172 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.069e-05/0.5333, allocations: 31.86 kB / 1.172 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.5346, allocations: 175.4 kB / 1.172 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.985e-05/0.5347, allocations: 67.98 kB / 1.172 GB, free: 9.988 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.0004085/0.5351, allocations: 267.7 kB / 1.173 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.5354, allocations: 102.7 kB / 1.173 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/0.5382, allocations: 1.846 MB / 1.174 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.5383, allocations: 8 kB / 1.174 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.5383, allocations: 4 kB / 1.174 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.5383, allocations: 7.984 kB / 1.174 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.5512, allocations: 9.585 MB / 1.184 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.5513, allocations: 8 kB / 1.184 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.5525, allocations: 319.4 kB / 1.184 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.819e-05/0.5525, allocations: 16 kB / 1.184 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-05/0.5526, allocations: 32 kB / 1.184 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-05/0.5526, allocations: 19.88 kB / 1.184 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/0.5526, allocations: 19.94 kB / 1.184 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/0.5555, allocations: 2.394 MB / 1.187 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006082/0.5561, allocations: 375.6 kB / 1.187 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.5563, allocations: 47.77 kB / 1.187 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009642/0.5573, allocations: 143.7 kB / 1.187 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/0.5575, allocations: 91.67 kB / 1.187 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.5576, allocations: 32 kB / 1.187 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008964/0.5585, allocations: 0.616 MB / 1.188 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5585, allocations: 0 / 1.188 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002428/0.5609, allocations: 0.7578 MB / 1.189 GB, free: 8.875 MB / 0.9512 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 (90): * Single equations (assignments): 90 * 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.0002488/0.5612, allocations: 151 kB / 1.189 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004405/0.5656, allocations: 2.87 MB / 1.192 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.5656, allocations: 4 kB / 1.192 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.5669, allocations: 0.9111 MB / 1.192 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.5686, allocations: 294.1 kB / 1.193 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008297/0.5769, allocations: 6.213 MB / 1.199 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/0.5789, allocations: 2.131 MB / 1.201 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002082/0.581, allocations: 0.7462 MB / 1.202 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004118/0.5814, allocations: 87.41 kB / 1.202 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of SimCode: time 1.202e-06/0.5814, allocations: 0 / 1.202 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of Templates: time 0.02893/0.6104, allocations: 17.28 MB / 1.219 GB, free: 10.14 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches