Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.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_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") 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: 111.2 kB / 16.42 MB, free: 6.457 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.001243/0.001243, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.198/2.198, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 71.89 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8942/0.8957, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02547/0.9212, allocations: 20.25 MB / 1.108 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.936, allocations: 6.447 MB / 1.115 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003105/0.9392, allocations: 86.69 kB / 1.115 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.006141/0.9454, allocations: 2.237 MB / 1.117 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00477/0.9502, allocations: 1.24 MB / 1.118 GB, free: 1.531 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004143/0.9543, allocations: 1.297 MB / 1.119 GB, free: 0.7969 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.008161/0.9625, allocations: 4.862 MB / 1.124 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01051/0.973, allocations: 5.586 MB / 1.13 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004649/0.9777, allocations: 2.125 MB / 1.132 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005463/0.9832, allocations: 2.34 MB / 1.134 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001852/0.9851, allocations: 429.3 kB / 1.134 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004176/0.9893, allocations: 1.004 MB / 1.135 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004119/0.9934, allocations: 1.665 MB / 1.137 GB, free: 9.445 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006434/0.9998, allocations: 1.912 MB / 1.139 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01393/1.014, allocations: 6.521 MB / 1.145 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.014, allocations: 0 / 1.145 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.693e-06/1.014, allocations: 0 / 1.145 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002928/1.014, allocations: 1.375 kB / 1.145 GB, free: 6.16 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01392/1.028, allocations: 3.456 MB / 1.149 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/1.028, allocations: 9.469 kB / 1.149 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003933/1.032, allocations: 0.6434 MB / 1.149 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004665/1.037, allocations: 2.039 MB / 1.151 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/1.037, allocations: 229 kB / 1.151 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000575/1.038, allocations: 292.7 kB / 1.152 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009661/1.047, allocations: 4.889 MB / 1.157 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.452e-05/1.047, allocations: 8.688 kB / 1.157 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000358/1.048, allocations: 133.8 kB / 1.157 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004704/1.048, allocations: 228.7 kB / 1.157 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006521/1.055, allocations: 3.746 MB / 1.161 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02742/1.082, allocations: 21.4 MB / 1.181 GB, free: 9.309 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/1.084, allocations: 1.315 MB / 1.183 GB, free: 8.605 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/1.086, allocations: 1.059 MB / 1.184 GB, free: 8.051 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-05/1.086, allocations: 11.59 kB / 1.184 GB, free: 8.051 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/1.086, allocations: 43.66 kB / 1.184 GB, free: 8.004 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 2.995e-06/1.086, allocations: 1.156 kB / 1.184 GB, free: 8.004 MB / 0.92 GB Notification: Performance of matching and sorting (n=138): time 0.02524/1.111, allocations: 8.647 MB / 1.192 GB, free: 1.723 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/1.111, allocations: 72.72 kB / 1.192 GB, free: 1.641 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/1.113, allocations: 1.126 MB / 1.193 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/1.113, allocations: 57.64 kB / 1.193 GB, free: 456 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008333/1.114, allocations: 1.296 MB / 1.195 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000441/1.114, allocations: 481.1 kB / 1.195 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005012/1.115, allocations: 291.3 kB / 1.195 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.115, allocations: 305.1 kB / 1.196 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/1.116, allocations: 0.9096 MB / 1.197 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/1.118, allocations: 1.33 MB / 1.198 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003513/1.122, allocations: 2.426 MB / 1.2 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/1.122, allocations: 7.984 kB / 1.2 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006784/1.128, allocations: 3.471 MB / 1.204 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/1.129, allocations: 12 kB / 1.204 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001228/1.129, allocations: 12 kB / 1.204 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003306/1.132, allocations: 1.186 MB / 1.205 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/1.133, allocations: 263.5 kB / 1.205 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/1.153, allocations: 13.83 MB / 1.219 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/1.154, allocations: 91.97 kB / 1.219 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/1.155, allocations: 63.98 kB / 1.219 GB, free: 5.684 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002391/1.157, allocations: 1.106 MB / 1.22 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004616/1.158, allocations: 162 kB / 1.22 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006826/1.164, allocations: 3.173 MB / 1.223 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/1.165, allocations: 11.91 kB / 1.223 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.944e-06/1.165, allocations: 4.375 kB / 1.223 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.166, allocations: 427 kB / 1.224 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006442/1.167, allocations: 20 kB / 1.224 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.168, allocations: 79.91 kB / 1.224 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003594/1.168, allocations: 145 kB / 1.224 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008087/1.176, allocations: 3.492 MB / 1.227 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005165/1.182, allocations: 3.335 MB / 1.23 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001366/1.183, allocations: 1.029 MB / 1.231 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001345/1.184, allocations: 0.7632 MB / 1.232 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of Backend: time 5.61e-07/1.184, allocations: 0 / 1.232 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006742/1.191, allocations: 2.74 MB / 1.235 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of SimCode: time 0.01271/1.204, allocations: 5.992 MB / 1.241 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of Templates: time 0.07238/1.276, allocations: 36.36 MB / 1.276 GB, free: 11.11 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches