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.001446/0.001446, 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.002035/0.002035, allocations: 198.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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.362/2.362, allocations: 390.2 MB / 0.6642 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 0.8119 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7594/0.7607, allocations: 140.4 MB / 0.9489 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03405/0.7948, allocations: 32.32 MB / 0.9805 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0196/0.8144, allocations: 10.27 MB / 0.9905 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00536/0.8198, allocations: 135.3 kB / 0.9906 GB, free: 7.336 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.009929/0.8298, allocations: 3.485 MB / 0.994 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007826/0.8377, allocations: 1.731 MB / 0.9957 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006361/0.8441, allocations: 1.945 MB / 0.9976 GB, free: 168 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01234/0.8564, allocations: 10.57 MB / 1.008 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0181/0.8746, allocations: 10.62 MB / 1.018 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006493/0.8811, allocations: 2.705 MB / 1.021 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007843/0.889, allocations: 3.551 MB / 1.024 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002568/0.8916, allocations: 452 kB / 1.025 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005319/0.8969, allocations: 1.876 MB / 1.027 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.004019/0.901, allocations: 2.346 MB / 1.029 GB, free: 15.88 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005673/0.9067, allocations: 2.66 MB / 1.032 GB, free: 13.21 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.9204, allocations: 9.983 MB / 1.041 GB, free: 3.195 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.9205, allocations: 0 / 1.041 GB, free: 3.195 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.605e-06/0.9205, allocations: 0 / 1.041 GB, free: 3.195 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0004029/0.9209, allocations: 0 / 1.041 GB, free: 3.195 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.01667/0.9376, allocations: 4.998 MB / 1.046 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.9376, allocations: 12.03 kB / 1.046 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006762/0.9444, allocations: 0.9512 MB / 1.047 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00724/0.9517, allocations: 2.862 MB / 1.05 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003674/0.9521, allocations: 345.7 kB / 1.05 GB, free: 9.895 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002197/0.9543, allocations: 468.2 kB / 1.051 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02232/0.9766, allocations: 7.667 MB / 1.058 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002773/0.977, allocations: 23.78 kB / 1.058 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001555/0.9785, allocations: 200 kB / 1.058 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003782/0.9789, allocations: 312.9 kB / 1.059 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01363/0.9926, allocations: 5.714 MB / 1.064 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04777/1.04, allocations: 35.09 MB / 1.099 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003229/1.044, allocations: 2.164 MB / 1.101 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/1.045, allocations: 1.262 MB / 1.102 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/1.046, allocations: 13.31 kB / 1.102 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/1.046, allocations: 51.86 kB / 1.102 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=133): time 4.027e-06/1.046, allocations: 0 / 1.102 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136): time 0.0146/1.06, allocations: 7.092 MB / 1.109 GB, free: 9.891 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/1.06, allocations: 72.66 kB / 1.109 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/1.063, allocations: 1.48 MB / 1.11 GB, free: 8.277 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/1.063, allocations: 45.7 kB / 1.11 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001469/1.065, allocations: 2 MB / 1.112 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004654/1.065, allocations: 493 kB / 1.113 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005774/1.066, allocations: 351.1 kB / 1.113 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.066, allocations: 301.1 kB / 1.114 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/1.067, allocations: 0.9135 MB / 1.114 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/1.069, allocations: 1.597 MB / 1.116 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/1.073, allocations: 2.725 MB / 1.119 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.107e-05/1.073, allocations: 12 kB / 1.119 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006542/1.079, allocations: 3.53 MB / 1.122 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/1.079, allocations: 15.98 kB / 1.122 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.562e-05/1.079, allocations: 24 kB / 1.122 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002652/1.082, allocations: 0.9043 MB / 1.123 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/1.083, allocations: 351.4 kB / 1.123 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02021/1.103, allocations: 21.22 MB / 1.144 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/1.105, allocations: 95.92 kB / 1.144 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003724/1.106, allocations: 91.98 kB / 1.144 GB, free: 3.297 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.003357/1.109, allocations: 1.611 MB / 1.146 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005437/1.109, allocations: 209.5 kB / 1.146 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005515/1.115, allocations: 2.994 MB / 1.149 GB, free: 14.42 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/1.115, allocations: 12 kB / 1.149 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.582e-05/1.115, allocations: 8 kB / 1.149 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/1.115, allocations: 11.97 kB / 1.149 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/1.129, allocations: 7.34 MB / 1.156 GB, free: 6.812 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/1.129, allocations: 4 kB / 1.156 GB, free: 6.809 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007867/1.13, allocations: 171.7 kB / 1.156 GB, free: 6.641 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002397/1.132, allocations: 0.8339 MB / 1.157 GB, free: 5.77 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/1.132, allocations: 24 kB / 1.157 GB, free: 5.746 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01886/1.151, allocations: 20.3 MB / 1.177 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/1.151, allocations: 4 kB / 1.177 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00547/1.157, allocations: 3.027 MB / 1.18 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008498/1.157, allocations: 454.5 kB / 1.18 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/1.158, allocations: 47.89 kB / 1.18 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006996/1.158, allocations: 67.92 kB / 1.18 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000372/1.159, allocations: 128.6 kB / 1.181 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.661e-05/1.159, allocations: 40 kB / 1.181 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00158/1.16, allocations: 0.9717 MB / 1.182 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.16, allocations: 4 kB / 1.182 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002962/1.163, allocations: 0.7812 MB / 1.182 GB, free: 10.17 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.0002471/1.164, allocations: 148.4 kB / 1.182 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00542/1.169, allocations: 4.012 MB / 1.186 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/1.169, allocations: 8.062 kB / 1.186 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003527/1.173, allocations: 2.724 MB / 1.189 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/1.176, allocations: 0.6682 MB / 1.19 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/1.19, allocations: 9.15 MB / 1.199 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003935/1.194, allocations: 3.117 MB / 1.202 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001576/1.196, allocations: 462 kB / 1.202 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/1.196, allocations: 115.4 kB / 1.202 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of SimCode: time 7.11e-07/1.196, allocations: 0 / 1.202 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of Templates: time 0.0649/1.261, allocations: 34.71 MB / 1.236 GB, free: 3.027 MB / 0.9981 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