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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001647/0.001647, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 200.4 kB / 16.79 MB, free: 6.809 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.384/1.384, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.874/2.874, allocations: 461.9 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 62.08 kB / 0.899 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3469, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04099/0.388, allocations: 36.92 MB / 1.089 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02268/0.4107, allocations: 13.79 MB / 1.102 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004437/0.4152, allocations: 91.69 kB / 1.102 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005842/0.4211, allocations: 2.103 MB / 1.104 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004275/0.4254, allocations: 1.362 MB / 1.106 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.009422/0.4348, allocations: 3.272 MB / 1.109 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01066/0.4455, allocations: 9.569 MB / 1.118 GB, free: 5.016 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01793/0.4635, allocations: 11.22 MB / 1.129 GB, free: 9.668 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004399/0.4679, allocations: 2.286 MB / 1.131 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00625/0.4742, allocations: 3.28 MB / 1.135 GB, free: 4.086 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002177/0.4764, allocations: 432 kB / 1.135 GB, free: 3.664 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003639/0.4801, allocations: 1.264 MB / 1.136 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004154/0.4843, allocations: 2.277 MB / 1.139 GB, free: 120 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005332/0.4896, allocations: 2.338 MB / 1.141 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.008978/0.4986, allocations: 7.865 MB / 1.149 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4987, allocations: 0 / 1.149 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4987, allocations: 4 kB / 1.149 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.000304/0.499, allocations: 0 / 1.149 GB, free: 5.883 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.01153/0.5105, allocations: 4.299 MB / 1.153 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.5106, allocations: 15.91 kB / 1.153 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005392/0.516, allocations: 1.034 MB / 1.154 GB, free: 472 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004538/0.5206, allocations: 2.191 MB / 1.156 GB, free: 14.22 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002659/0.5209, allocations: 325 kB / 1.156 GB, free: 13.9 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001121/0.522, allocations: 428.3 kB / 1.157 GB, free: 13.48 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01458/0.5366, allocations: 7.405 MB / 1.164 GB, free: 5.84 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.5368, allocations: 15.78 kB / 1.164 GB, free: 5.824 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005584/0.5373, allocations: 184 kB / 1.164 GB, free: 5.645 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000302/0.5376, allocations: 286.9 kB / 1.164 GB, free: 5.363 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/0.549, allocations: 6.026 MB / 1.17 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04528/0.5944, allocations: 32.7 MB / 1.202 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003858/0.5983, allocations: 2.15 MB / 1.204 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.6002, allocations: 1.236 MB / 1.205 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/0.6004, allocations: 106.1 kB / 1.206 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.011e-05/0.6005, allocations: 47.56 kB / 1.206 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=98): time 4.308e-06/0.6005, allocations: 0 / 1.206 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=101): time 0.01107/0.6116, allocations: 5.27 MB / 1.211 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/0.6117, allocations: 145.4 kB / 1.211 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002623/0.6144, allocations: 1.472 MB / 1.212 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002798/0.6147, allocations: 41.7 kB / 1.212 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001391/0.6161, allocations: 1.867 MB / 1.214 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005509/0.6166, allocations: 378.8 kB / 1.215 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00099/0.6176, allocations: 467 kB / 1.215 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6178, allocations: 301.1 kB / 1.215 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/0.6198, allocations: 1.149 MB / 1.216 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/0.6229, allocations: 2.219 MB / 1.219 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00668/0.6296, allocations: 3.438 MB / 1.222 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.8e-05/0.6297, allocations: 8 kB / 1.222 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007314/0.637, allocations: 3.367 MB / 1.225 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/0.6371, allocations: 20 kB / 1.225 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.426e-05/0.6371, allocations: 32 kB / 1.225 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.269e-05/0.6372, allocations: 48 kB / 1.225 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/0.6398, allocations: 0.6316 MB / 1.226 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.608e-05/0.6398, allocations: 71.72 kB / 1.226 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.6425, allocations: 326.8 kB / 1.226 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004165/0.643, allocations: 116 kB / 1.226 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005454/0.6484, allocations: 2.432 MB / 1.229 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002924/0.6514, allocations: 2.043 MB / 1.231 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004446/0.6559, allocations: 3.064 MB / 1.234 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.92e-05/0.6559, allocations: 12 kB / 1.234 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.00588/0.6618, allocations: 2.98 MB / 1.237 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.591e-05/0.6619, allocations: 24.06 kB / 1.237 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.052e-05/0.662, allocations: 39.94 kB / 1.237 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.846e-05/0.6621, allocations: 48 kB / 1.237 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002345/0.6645, allocations: 0.5616 MB / 1.237 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.795e-05/0.6646, allocations: 71.72 kB / 1.237 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/0.6668, allocations: 267 kB / 1.238 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003085/0.6672, allocations: 112 kB / 1.238 GB, free: 4.984 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.0008437/0.668, allocations: 339.3 kB / 1.238 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005694/0.6686, allocations: 162 kB / 1.238 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/0.673, allocations: 2.246 MB / 1.24 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/0.673, allocations: 15.94 kB / 1.24 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.673, allocations: 0 / 1.24 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.6731, allocations: 11.98 kB / 1.24 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/0.692, allocations: 10.98 MB / 1.251 GB, free: 6.961 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.763e-05/0.692, allocations: 12 kB / 1.251 GB, free: 6.949 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/0.6936, allocations: 391.3 kB / 1.252 GB, free: 6.566 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-05/0.6937, allocations: 16 kB / 1.252 GB, free: 6.551 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001534/0.6938, allocations: 32 kB / 1.252 GB, free: 6.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.162e-05/0.6938, allocations: 23.92 kB / 1.252 GB, free: 6.496 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.31e-05/0.6939, allocations: 19.88 kB / 1.252 GB, free: 6.477 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004092/0.698, allocations: 2.755 MB / 1.254 GB, free: 3.555 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000944/0.6989, allocations: 454.8 kB / 1.255 GB, free: 3.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000372/0.6993, allocations: 39.89 kB / 1.255 GB, free: 3.051 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/0.7008, allocations: 175.7 kB / 1.255 GB, free: 2.879 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/0.7011, allocations: 96.17 kB / 1.255 GB, free: 2.785 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.707e-05/0.7012, allocations: 40 kB / 1.255 GB, free: 2.746 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001916/0.7031, allocations: 1.013 MB / 1.256 GB, free: 1.734 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7031, allocations: 0 / 1.256 GB, free: 1.734 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004934/0.708, allocations: 1.133 MB / 1.257 GB, free: 0.6016 MB / 1.014 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.0003416/0.7084, allocations: 146.9 kB / 1.257 GB, free: 460 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.5484/1.257, allocations: 4.044 MB / 1.261 GB, free: 191.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-05/1.257, allocations: 0 / 1.261 GB, free: 191.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/1.259, allocations: 1.054 MB / 1.262 GB, free: 191.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/1.261, allocations: 415.8 kB / 1.263 GB, free: 191.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/1.276, allocations: 9.436 MB / 1.272 GB, free: 187.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005631/1.282, allocations: 2.947 MB / 1.275 GB, free: 186.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009844/1.283, allocations: 141 kB / 1.275 GB, free: 186.9 MB / 1.014 GB Notification: Performance of SimCode: time 2.204e-06/1.283, allocations: 0 / 1.275 GB, free: 186.9 MB / 1.014 GB Notification: Performance of Templates: time 0.082/1.365, allocations: 41.16 MB / 1.315 GB, free: 168.7 MB / 1.014 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/jenkins1/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