Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001224/0.001224, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.397/1.397, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.559/2.559, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7824/0.784, allocations: 140.4 MB / 0.9491 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04587/0.8299, allocations: 32.31 MB / 0.9807 GB, free: 472 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02329/0.8533, allocations: 10.18 MB / 0.9906 GB, free: 7.461 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004794/0.8581, allocations: 139.2 kB / 0.9907 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01081/0.869, allocations: 3.494 MB / 0.9941 GB, free: 3.824 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00667/0.8757, allocations: 1.696 MB / 0.9958 GB, free: 2.121 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006366/0.8821, allocations: 1.956 MB / 0.9977 GB, free: 172 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01018/0.8923, allocations: 7.341 MB / 1.005 GB, free: 8.809 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01853/0.9109, allocations: 11.6 MB / 1.016 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005437/0.9163, allocations: 3.22 MB / 1.019 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005867/0.9222, allocations: 3.657 MB / 1.023 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002191/0.9245, allocations: 0.6445 MB / 1.024 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005402/0.9299, allocations: 1.763 MB / 1.025 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.004571/0.9345, allocations: 2.546 MB / 1.028 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.007035/0.9416, allocations: 2.898 MB / 1.031 GB, free: 14.32 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.9554, allocations: 10.15 MB / 1.041 GB, free: 4.145 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.9555, allocations: 0 / 1.041 GB, free: 4.145 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.026e-06/0.9555, allocations: 0 / 1.041 GB, free: 4.145 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000374/0.9558, allocations: 0 / 1.041 GB, free: 4.145 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01406/0.9699, allocations: 4.998 MB / 1.045 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.97, allocations: 8.031 kB / 1.045 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00635/0.9763, allocations: 0.955 MB / 1.046 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006341/0.9827, allocations: 2.859 MB / 1.049 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00038/0.9831, allocations: 341.7 kB / 1.049 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/0.9849, allocations: 472.1 kB / 1.05 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01755/1.002, allocations: 7.675 MB / 1.057 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001618/1.003, allocations: 23.78 kB / 1.057 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000616/1.003, allocations: 204 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000357/1.004, allocations: 312.9 kB / 1.058 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/1.015, allocations: 5.71 MB / 1.063 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03834/1.053, allocations: 35.09 MB / 1.098 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002807/1.056, allocations: 2.15 MB / 1.1 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/1.058, allocations: 1.274 MB / 1.101 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.485e-05/1.058, allocations: 17.3 kB / 1.101 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/1.058, allocations: 43.88 kB / 1.101 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=133): time 3.106e-06/1.058, allocations: 0 / 1.101 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136): time 0.01375/1.072, allocations: 7.096 MB / 1.108 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/1.072, allocations: 64.72 kB / 1.108 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/1.074, allocations: 1.484 MB / 1.11 GB, free: 9.227 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.612e-05/1.074, allocations: 45.7 kB / 1.11 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001346/1.075, allocations: 2.008 MB / 1.112 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/1.076, allocations: 489 kB / 1.112 GB, free: 6.656 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004995/1.076, allocations: 351.1 kB / 1.112 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/1.076, allocations: 301.1 kB / 1.113 GB, free: 6.012 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/1.077, allocations: 0.9096 MB / 1.114 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/1.079, allocations: 1.597 MB / 1.115 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003316/1.083, allocations: 2.733 MB / 1.118 GB, free: 156 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/1.083, allocations: 8 kB / 1.118 GB, free: 148 kB / 0.8731 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005983/1.089, allocations: 3.531 MB / 1.121 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.753e-05/1.089, allocations: 16 kB / 1.121 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.792e-05/1.089, allocations: 20 kB / 1.121 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002694/1.091, allocations: 0.9193 MB / 1.122 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.093, allocations: 347.4 kB / 1.123 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02302/1.116, allocations: 23.11 MB / 1.145 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/1.118, allocations: 112 kB / 1.145 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/1.118, allocations: 80 kB / 1.145 GB, free: 2.266 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002799/1.121, allocations: 1.614 MB / 1.147 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003637/1.121, allocations: 209.5 kB / 1.147 GB, free: 444 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005251/1.126, allocations: 2.982 MB / 1.15 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/1.126, allocations: 12 kB / 1.15 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/1.126, allocations: 8 kB / 1.15 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/1.126, allocations: 11.97 kB / 1.15 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/1.138, allocations: 7.348 MB / 1.157 GB, free: 5.781 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/1.139, allocations: 4 kB / 1.157 GB, free: 5.777 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008842/1.139, allocations: 179.7 kB / 1.157 GB, free: 5.602 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002482/1.142, allocations: 0.8302 MB / 1.158 GB, free: 4.734 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/1.142, allocations: 24 kB / 1.158 GB, free: 4.711 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02046/1.163, allocations: 21.96 MB / 1.18 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.163, allocations: 7.938 kB / 1.18 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005746/1.168, allocations: 3.027 MB / 1.183 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.169, allocations: 454.5 kB / 1.183 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004663/1.17, allocations: 39.92 kB / 1.183 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.171, allocations: 71.86 kB / 1.183 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004473/1.171, allocations: 128.7 kB / 1.183 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-05/1.171, allocations: 36 kB / 1.183 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001709/1.173, allocations: 0.9756 MB / 1.184 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.01e-07/1.173, allocations: 0 / 1.184 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003178/1.176, allocations: 0.7891 MB / 1.185 GB, free: 7.398 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002956/1.177, allocations: 143 kB / 1.185 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007463/1.184, allocations: 4.648 MB / 1.19 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.184, allocations: 0 / 1.19 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003979/1.188, allocations: 2.729 MB / 1.192 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003752/1.192, allocations: 0.7312 MB / 1.193 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/1.208, allocations: 9.157 MB / 1.202 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004301/1.212, allocations: 3.109 MB / 1.205 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001601/1.214, allocations: 461.9 kB / 1.205 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/1.214, allocations: 115.4 kB / 1.206 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of SimCode: time 9.31e-07/1.214, allocations: 0 / 1.206 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of Templates: time 0.06568/1.28, allocations: 36.01 MB / 1.241 GB, free: 14.31 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches