Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00175/0.00175, 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.002042/0.002042, allocations: 194.6 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.627/1.627, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.84/2.84, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.89 kB / 0.8686 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7208/0.7229, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04351/0.7664, allocations: 34.81 MB / 1.051 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01891/0.7854, allocations: 9.906 MB / 1.06 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004209/0.7896, allocations: 131.3 kB / 1.06 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.7999, allocations: 3.549 MB / 1.064 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.006361/0.8063, allocations: 1.917 MB / 1.066 GB, free: 284 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005677/0.812, allocations: 1.783 MB / 1.068 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01383/0.8258, allocations: 11.2 MB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01819/0.8441, allocations: 10.7 MB / 1.089 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006633/0.8507, allocations: 2.88 MB / 1.092 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00781/0.8586, allocations: 3.793 MB / 1.095 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002184/0.8608, allocations: 467.9 kB / 1.096 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004192/0.865, allocations: 1.451 MB / 1.097 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003398/0.8684, allocations: 2.393 MB / 1.1 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.005497/0.8739, allocations: 2.854 MB / 1.102 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.8864, allocations: 10.19 MB / 1.112 GB, free: 376 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.8864, allocations: 8 kB / 1.112 GB, free: 368 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8864, allocations: 0 / 1.112 GB, free: 368 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002919/0.8867, allocations: 0 / 1.112 GB, free: 368 kB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01251/0.8993, allocations: 5.397 MB / 1.118 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.8993, allocations: 12.03 kB / 1.118 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005182/0.9045, allocations: 0.9587 MB / 1.119 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006598/0.9111, allocations: 2.995 MB / 1.122 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/0.9115, allocations: 361.9 kB / 1.122 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001185/0.9127, allocations: 468.2 kB / 1.122 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/0.93, allocations: 7.914 MB / 1.13 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001301/0.9302, allocations: 19.81 kB / 1.13 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006705/0.9309, allocations: 208 kB / 1.13 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005923/0.9315, allocations: 365.1 kB / 1.131 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/0.9451, allocations: 5.937 MB / 1.136 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04717/0.9923, allocations: 36.2 MB / 1.172 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003851/0.9962, allocations: 2.15 MB / 1.174 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/0.9984, allocations: 1.473 MB / 1.175 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.9985, allocations: 29.16 kB / 1.175 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.629e-05/0.9986, allocations: 59.8 kB / 1.175 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=157): time 3.397e-06/0.9986, allocations: 0 / 1.175 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=160): time 0.01549/1.014, allocations: 7.533 MB / 1.183 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/1.014, allocations: 68.72 kB / 1.183 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003206/1.017, allocations: 1.864 MB / 1.185 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003667/1.018, allocations: 53.7 kB / 1.185 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.002118/1.02, allocations: 2.119 MB / 1.187 GB, free: 92 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.021, allocations: 0.5587 MB / 1.187 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008359/1.022, allocations: 399.7 kB / 1.188 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001966/1.022, allocations: 309.1 kB / 1.188 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/1.024, allocations: 1.07 MB / 1.189 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002446/1.026, allocations: 1.764 MB / 1.191 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004471/1.031, allocations: 3.041 MB / 1.194 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/1.031, allocations: 8 kB / 1.194 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007311/1.038, allocations: 3.936 MB / 1.198 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/1.038, allocations: 16 kB / 1.198 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/1.038, allocations: 20 kB / 1.198 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002688/1.041, allocations: 0.9276 MB / 1.198 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/1.043, allocations: 427.3 kB / 1.199 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02337/1.066, allocations: 21.05 MB / 1.219 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/1.068, allocations: 127.8 kB / 1.22 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/1.069, allocations: 96 kB / 1.22 GB, free: 12.02 MB / 0.9825 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.003138/1.072, allocations: 1.65 MB / 1.221 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006133/1.072, allocations: 249.1 kB / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00616/1.078, allocations: 3.267 MB / 1.225 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/1.079, allocations: 16 kB / 1.225 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.633e-05/1.079, allocations: 12 kB / 1.225 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/1.079, allocations: 11.91 kB / 1.225 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/1.094, allocations: 7.541 MB / 1.232 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.094, allocations: 4.562 kB / 1.232 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/1.095, allocations: 211.6 kB / 1.232 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/1.097, allocations: 0.9077 MB / 1.233 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001902/1.098, allocations: 32 kB / 1.233 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6525/1.75, allocations: 21 MB / 1.254 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/1.75, allocations: 8.406 kB / 1.254 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006508/1.757, allocations: 3.385 MB / 1.257 GB, free: 202 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/1.758, allocations: 0.528 MB / 1.258 GB, free: 201.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004239/1.758, allocations: 32.36 kB / 1.258 GB, free: 201.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/1.76, allocations: 95.11 kB / 1.258 GB, free: 201.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004728/1.76, allocations: 138.5 kB / 1.258 GB, free: 201.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/1.76, allocations: 50.95 kB / 1.258 GB, free: 201.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002238/1.762, allocations: 1.222 MB / 1.259 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.762, allocations: 0.625 kB / 1.259 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004012/1.766, allocations: 0.9077 MB / 1.26 GB, free: 201.1 MB / 0.9981 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 (109): * Single equations (assignments): 97 * 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,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,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003942/1.767, allocations: 162.9 kB / 1.26 GB, free: 201 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007862/1.775, allocations: 4.41 MB / 1.264 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/1.775, allocations: 1.531 kB / 1.264 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004415/1.779, allocations: 2.991 MB / 1.267 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005198/1.784, allocations: 0.7711 MB / 1.268 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/1.804, allocations: 9.706 MB / 1.278 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004685/1.809, allocations: 3.211 MB / 1.281 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002486/1.811, allocations: 0.5289 MB / 1.281 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/1.811, allocations: 141.7 kB / 1.281 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.272e-06/1.811, allocations: 0 / 1.281 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.06357/1.875, allocations: 41.54 MB / 1.322 GB, free: 159.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches