Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.001938/0.001939, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 65.69 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2791, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03792/0.317, allocations: 34.85 MB / 0.9852 GB, free: 5.09 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02221/0.3393, allocations: 11.5 MB / 0.9964 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003933/0.3433, allocations: 163.2 kB / 0.9966 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01111/0.3545, allocations: 4.243 MB / 1.001 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007329/0.3618, allocations: 1.99 MB / 1.003 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.007503/0.3693, allocations: 2.397 MB / 1.005 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01147/0.3808, allocations: 8.464 MB / 1.013 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01565/0.3965, allocations: 11.13 MB / 1.024 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006185/0.4027, allocations: 3.739 MB / 1.028 GB, free: 9.262 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006954/0.4097, allocations: 4.19 MB / 1.032 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002851/0.4126, allocations: 0.7812 MB / 1.033 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005854/0.4185, allocations: 2.028 MB / 1.035 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.005146/0.4236, allocations: 3.057 MB / 1.038 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.007718/0.4314, allocations: 3.4 MB / 1.041 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01616/0.4476, allocations: 11.98 MB / 1.053 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.4476, allocations: 0 / 1.053 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4477, allocations: 4 kB / 1.053 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003568/0.448, allocations: 0 / 1.053 GB, free: 15.75 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01497/0.463, allocations: 5.795 MB / 1.058 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.463, allocations: 8.031 kB / 1.058 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006661/0.4697, allocations: 1.067 MB / 1.059 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00856/0.4783, allocations: 3.446 MB / 1.063 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003689/0.4787, allocations: 411.5 kB / 1.063 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001868/0.4806, allocations: 0.5392 MB / 1.064 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02138/0.502, allocations: 9.079 MB / 1.072 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003413/0.5024, allocations: 31.78 kB / 1.073 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00231/0.5047, allocations: 236 kB / 1.073 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004517/0.5052, allocations: 350.8 kB / 1.073 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01688/0.522, allocations: 6.83 MB / 1.08 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6009/1.123, allocations: 39.78 MB / 1.119 GB, free: 87.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/1.127, allocations: 3.117 MB / 1.122 GB, free: 86.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002549/1.129, allocations: 1.966 MB / 1.124 GB, free: 85.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/1.129, allocations: 19.09 kB / 1.124 GB, free: 85.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/1.13, allocations: 55.41 kB / 1.124 GB, free: 85.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=179): time 3.687e-06/1.13, allocations: 0 / 1.124 GB, free: 85.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=182): time 0.02588/1.155, allocations: 9.986 MB / 1.133 GB, free: 81.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/1.155, allocations: 71.53 kB / 1.133 GB, free: 81.53 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002431/1.158, allocations: 1.524 MB / 1.135 GB, free: 80.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000203/1.158, allocations: 52.42 kB / 1.135 GB, free: 80.86 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001223/1.159, allocations: 2.258 MB / 1.137 GB, free: 79.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005775/1.16, allocations: 0.6316 MB / 1.138 GB, free: 78.67 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006446/1.161, allocations: 408.7 kB / 1.138 GB, free: 78.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.093e-05/1.161, allocations: 301.1 kB / 1.138 GB, free: 78.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/1.162, allocations: 1.174 MB / 1.14 GB, free: 77.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/1.164, allocations: 1.885 MB / 1.141 GB, free: 76.37 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003911/1.168, allocations: 3.371 MB / 1.145 GB, free: 74 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/1.168, allocations: 6.531 kB / 1.145 GB, free: 74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007883/1.176, allocations: 4.573 MB / 1.149 GB, free: 71.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/1.176, allocations: 19.19 kB / 1.149 GB, free: 71.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.931e-05/1.176, allocations: 21.94 kB / 1.149 GB, free: 71.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003715/1.18, allocations: 1.58 MB / 1.151 GB, free: 70.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.181, allocations: 359.7 kB / 1.151 GB, free: 70.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01895/1.2, allocations: 18.59 MB / 1.169 GB, free: 57.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/1.202, allocations: 118.2 kB / 1.169 GB, free: 57.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/1.202, allocations: 96.73 kB / 1.17 GB, free: 57.21 MB / 0.8575 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00289/1.205, allocations: 1.89 MB / 1.171 GB, free: 56.05 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004577/1.206, allocations: 222.3 kB / 1.172 GB, free: 55.94 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005629/1.211, allocations: 4.092 MB / 1.176 GB, free: 53.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/1.211, allocations: 18 kB / 1.176 GB, free: 53.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-05/1.211, allocations: 18 kB / 1.176 GB, free: 53.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/1.211, allocations: 7.969 kB / 1.176 GB, free: 53.56 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/1.227, allocations: 9.471 MB / 1.185 GB, free: 45.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/1.227, allocations: 8 kB / 1.185 GB, free: 45.17 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007408/1.228, allocations: 184.3 kB / 1.185 GB, free: 44.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002929/1.231, allocations: 1.353 MB / 1.186 GB, free: 43.63 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/1.231, allocations: 36 kB / 1.186 GB, free: 43.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01654/1.247, allocations: 17.34 MB / 1.203 GB, free: 25.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/1.247, allocations: 4 kB / 1.203 GB, free: 25.7 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005638/1.253, allocations: 4.082 MB / 1.207 GB, free: 21.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/1.255, allocations: 0.5257 MB / 1.208 GB, free: 20.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000426/1.255, allocations: 47.78 kB / 1.208 GB, free: 20.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009701/1.256, allocations: 83.89 kB / 1.208 GB, free: 20.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004777/1.257, allocations: 165.7 kB / 1.208 GB, free: 20.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.257, allocations: 48 kB / 1.208 GB, free: 20.64 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001101/1.258, allocations: 1.001 MB / 1.209 GB, free: 19.61 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/1.258, allocations: 0 / 1.209 GB, free: 19.61 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002826/1.261, allocations: 0.9844 MB / 1.21 GB, free: 18.63 MB / 0.8575 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000206/1.261, allocations: 151 kB / 1.21 GB, free: 18.47 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.005428/1.266, allocations: 4.296 MB / 1.214 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.266, allocations: 0 / 1.214 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003361/1.27, allocations: 2.669 MB / 1.217 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/1.273, allocations: 0.7954 MB / 1.218 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/1.287, allocations: 8.584 MB / 1.226 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003909/1.291, allocations: 3.573 MB / 1.23 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001403/1.292, allocations: 459.9 kB / 1.23 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/1.292, allocations: 119.4 kB / 1.23 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of SimCode: time 6.41e-07/1.292, allocations: 0 / 1.23 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.07961/1.372, allocations: 43.9 MB / 1.273 GB, free: 2.438 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches