Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.Lines.Examples.ACLine_RL,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 105.4 kB / 16.36 MB, free: 6.312 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.001813/0.001813, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.628/2.628, allocations: 442.6 MB / 0.7166 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 69.28 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3051, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03065/0.3357, allocations: 26.67 MB / 1.053 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01512/0.3509, allocations: 8.078 MB / 1.061 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.3534, allocations: 123.4 kB / 1.061 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.007215/0.3607, allocations: 2.752 MB / 1.064 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004863/0.3655, allocations: 1.586 MB / 1.065 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004367/0.3699, allocations: 1.679 MB / 1.067 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008087/0.378, allocations: 6.138 MB / 1.073 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5287/0.9068, allocations: 7.303 MB / 1.08 GB, free: 19.13 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004479/0.9113, allocations: 2.567 MB / 1.082 GB, free: 19.07 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006834/0.9182, allocations: 2.831 MB / 1.085 GB, free: 18.73 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002264/0.9205, allocations: 0.5119 MB / 1.086 GB, free: 18.73 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004638/0.9251, allocations: 1.287 MB / 1.087 GB, free: 18.73 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004241/0.9294, allocations: 2.05 MB / 1.089 GB, free: 18.58 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006474/0.9359, allocations: 2.382 MB / 1.091 GB, free: 18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01508/0.951, allocations: 8.05 MB / 1.099 GB, free: 17.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.9511, allocations: 0.7031 kB / 1.099 GB, free: 17.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.534e-06/0.9511, allocations: 0 / 1.099 GB, free: 17.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003575/0.9514, allocations: 0 / 1.099 GB, free: 17.29 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.0169/0.9684, allocations: 4.228 MB / 1.103 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.9684, allocations: 12.5 kB / 1.103 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00691/0.9753, allocations: 0.8072 MB / 1.104 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008422/0.9838, allocations: 2.574 MB / 1.106 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004519/0.9843, allocations: 272 kB / 1.107 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002474/0.9868, allocations: 378 kB / 1.107 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/1.007, allocations: 5.992 MB / 1.113 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002384/1.007, allocations: 18.12 kB / 1.113 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001996/1.009, allocations: 160.2 kB / 1.113 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008081/1.01, allocations: 280.9 kB / 1.113 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01185/1.022, allocations: 4.522 MB / 1.118 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04394/1.066, allocations: 27.45 MB / 1.145 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002159/1.068, allocations: 1.127 MB / 1.146 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/1.07, allocations: 1.024 MB / 1.147 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/1.07, allocations: 15.78 kB / 1.147 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/1.07, allocations: 45.47 kB / 1.147 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=110): time 4.127e-06/1.07, allocations: 3.938 kB / 1.147 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of matching and sorting (n=131): time 0.02716/1.097, allocations: 9.663 MB / 1.156 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/1.097, allocations: 69.16 kB / 1.156 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003128/1.1, allocations: 1.498 MB / 1.158 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0004703/1.101, allocations: 49.7 kB / 1.158 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.00162/1.102, allocations: 1.666 MB / 1.159 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008266/1.103, allocations: 470 kB / 1.16 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000694/1.104, allocations: 324.6 kB / 1.16 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.104, allocations: 305.1 kB / 1.16 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/1.106, allocations: 0.9136 MB / 1.161 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/1.107, allocations: 1.466 MB / 1.163 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/1.11, allocations: 2.544 MB / 1.165 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/1.11, allocations: 7.406 kB / 1.165 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005613/1.116, allocations: 3.287 MB / 1.168 GB, free: 4.148 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/1.116, allocations: 14.09 kB / 1.169 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/1.116, allocations: 21.16 kB / 1.169 GB, free: 4.141 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002344/1.118, allocations: 0.7476 MB / 1.169 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/1.12, allocations: 389.1 kB / 1.17 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/1.137, allocations: 17.03 MB / 1.186 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/1.139, allocations: 99.84 kB / 1.186 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/1.139, allocations: 76 kB / 1.186 GB, free: 1.375 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003393/1.143, allocations: 1.321 MB / 1.188 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005756/1.143, allocations: 197.7 kB / 1.188 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005012/1.148, allocations: 2.785 MB / 1.191 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/1.149, allocations: 7.969 kB / 1.191 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.149, allocations: 0 / 1.191 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.15, allocations: 450.6 kB / 1.191 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000251/1.15, allocations: 31.98 kB / 1.191 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008789/1.151, allocations: 79.84 kB / 1.191 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/1.151, allocations: 109.1 kB / 1.191 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006238/1.157, allocations: 2.986 MB / 1.194 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004206/1.162, allocations: 3.242 MB / 1.197 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001157/1.163, allocations: 0.9622 MB / 1.198 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001469/1.164, allocations: 0.9942 MB / 1.199 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of Backend: time 1.112e-06/1.164, allocations: 0 / 1.199 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006638/1.171, allocations: 3.248 MB / 1.202 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of SimCode: time 0.01322/1.184, allocations: 7.088 MB / 1.209 GB, free: 9.82 MB / 0.92 GB Notification: Performance of Templates: time 0.07383/1.258, allocations: 39.94 MB / 1.248 GB, free: 2.574 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches