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.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_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.001093/0.001093, allocations: 98.88 kB / 16.02 MB, free: 76 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.00137/0.00137, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.796/2.796, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003674, allocations: 8.656 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3087, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0225/0.3313, allocations: 19.65 MB / 1.079 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.3444, allocations: 7.651 MB / 1.086 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/0.3461, allocations: 47.81 kB / 1.086 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.3473, allocations: 369.3 kB / 1.086 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.3499, allocations: 0.9419 MB / 1.087 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.3531, allocations: 1.313 MB / 1.089 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006348/0.3595, allocations: 6.445 MB / 1.095 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01189/0.3714, allocations: 7.527 MB / 1.102 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00279/0.3742, allocations: 1.253 MB / 1.103 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00368/0.3779, allocations: 1.884 MB / 1.105 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0008733/0.3788, allocations: 176 kB / 1.105 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.3812, allocations: 0.8578 MB / 1.106 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002289/0.3835, allocations: 1.337 MB / 1.108 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002964/0.3865, allocations: 1.37 MB / 1.109 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005599/0.3921, allocations: 5.174 MB / 1.114 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3922, allocations: 4 kB / 1.114 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3922, allocations: 0 / 1.114 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001606/0.3923, allocations: 0 / 1.114 GB, free: 12.76 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.005978/0.3983, allocations: 2.451 MB / 1.116 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3984, allocations: 15.97 kB / 1.116 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003739/0.4021, allocations: 0.7468 MB / 1.117 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00252/0.4047, allocations: 1.544 MB / 1.119 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.4048, allocations: 222.1 kB / 1.119 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005321/0.4054, allocations: 284.3 kB / 1.119 GB, free: 7.402 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008862/0.4142, allocations: 5.082 MB / 1.124 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.446e-05/0.4143, allocations: 15.78 kB / 1.124 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000323/0.4147, allocations: 128 kB / 1.124 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000234/0.4149, allocations: 212.6 kB / 1.124 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007561/0.4225, allocations: 4.228 MB / 1.129 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02612/0.4486, allocations: 23.08 MB / 1.151 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002902/0.4516, allocations: 1.75 MB / 1.153 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.4532, allocations: 1.13 MB / 1.154 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.4534, allocations: 101.7 kB / 1.154 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.4534, allocations: 51.16 kB / 1.154 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=84): time 3.076e-06/0.4535, allocations: 0 / 1.154 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of matching and sorting (n=87): time 0.00675/0.4602, allocations: 4.02 MB / 1.158 GB, free: 13.15 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.4603, allocations: 141.1 kB / 1.158 GB, free: 12.98 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.4616, allocations: 0.8759 MB / 1.159 GB, free: 12.1 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.947e-05/0.4617, allocations: 41.7 kB / 1.159 GB, free: 12.05 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007277/0.4624, allocations: 1.158 MB / 1.16 GB, free: 10.88 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/0.4627, allocations: 303.7 kB / 1.16 GB, free: 10.58 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.4629, allocations: 105.7 kB / 1.161 GB, free: 10.47 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.4631, allocations: 410.7 kB / 1.161 GB, free: 10.06 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.4644, allocations: 0.8184 MB / 1.162 GB, free: 9.238 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.4661, allocations: 1.318 MB / 1.163 GB, free: 7.699 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002999/0.4691, allocations: 2.175 MB / 1.165 GB, free: 5.328 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/0.4691, allocations: 4 kB / 1.165 GB, free: 5.324 MB / 0.92 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003656/0.4728, allocations: 2.222 MB / 1.167 GB, free: 3.098 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003529/0.4732, allocations: 0.4996 MB / 1.168 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/0.4732, allocations: 16 kB / 1.168 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.398e-05/0.4732, allocations: 24 kB / 1.168 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.4749, allocations: 415.3 kB / 1.168 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.475e-05/0.475, allocations: 35.8 kB / 1.168 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.4765, allocations: 223.2 kB / 1.168 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.4766, allocations: 63.97 kB / 1.169 GB, free: 1.637 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.537e-06/0.4766, allocations: 4 kB / 1.169 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002984/0.4796, allocations: 1.804 MB / 1.17 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/0.4797, allocations: 24 kB / 1.17 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.4797, allocations: 20 kB / 1.17 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.4811, allocations: 359.4 kB / 1.171 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.824e-05/0.4811, allocations: 31.92 kB / 1.171 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.4823, allocations: 167.4 kB / 1.171 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.4824, allocations: 55.98 kB / 1.171 GB, free: 15.19 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.001941/0.4844, allocations: 1.176 MB / 1.172 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/0.4847, allocations: 102.8 kB / 1.172 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/0.4878, allocations: 1.862 MB / 1.174 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.4878, allocations: 8 kB / 1.174 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4878, allocations: 4 kB / 1.174 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.4879, allocations: 4.078 kB / 1.174 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.5008, allocations: 9.607 MB / 1.183 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.212e-05/0.5009, allocations: 12 kB / 1.183 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.5022, allocations: 308.2 kB / 1.184 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.523e-05/0.5022, allocations: 20 kB / 1.184 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.5023, allocations: 36 kB / 1.184 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.056e-05/0.5024, allocations: 19.92 kB / 1.184 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.334e-05/0.5024, allocations: 19.94 kB / 1.184 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/0.5053, allocations: 2.417 MB / 1.186 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006819/0.506, allocations: 383.5 kB / 1.187 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/0.5062, allocations: 28 kB / 1.187 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.5074, allocations: 147.8 kB / 1.187 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/0.5076, allocations: 99.53 kB / 1.187 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/0.5077, allocations: 36 kB / 1.187 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001017/0.5087, allocations: 0.6083 MB / 1.187 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5087, allocations: 0 / 1.187 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002845/0.5115, allocations: 0.7539 MB / 1.188 GB, free: 13.11 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.0003571/0.5119, allocations: 150.9 kB / 1.188 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005115/0.517, allocations: 2.878 MB / 1.191 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/0.5171, allocations: 7.938 kB / 1.191 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.5185, allocations: 0.9195 MB / 1.192 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/0.5218, allocations: 286.2 kB / 1.192 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.5323, allocations: 6.672 MB / 1.199 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002797/0.5351, allocations: 2.191 MB / 1.201 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006774/0.5358, allocations: 103.4 kB / 1.201 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of SimCode: time 9.82e-07/0.5358, allocations: 0 / 1.201 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of Templates: time 0.04149/0.5773, allocations: 27.77 MB / 1.228 GB, free: 3.996 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/jenkins1/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