Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_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_latest_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_latest_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.001538/0.001538, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001483/0.001484, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.593/2.593, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 64.34 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8081, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04294/0.8511, allocations: 35.13 MB / 1.117 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01999/0.8711, allocations: 9.935 MB / 1.127 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004581/0.8757, allocations: 143.5 kB / 1.127 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01069/0.8865, allocations: 3.807 MB / 1.131 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007452/0.894, allocations: 2.038 MB / 1.133 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006036/0.9, allocations: 1.956 MB / 1.135 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01118/0.9112, allocations: 7.972 MB / 1.142 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01547/0.9267, allocations: 9.594 MB / 1.152 GB, free: 4.922 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006594/0.9333, allocations: 3.362 MB / 1.155 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007479/0.9408, allocations: 3.731 MB / 1.159 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002821/0.9437, allocations: 0.6803 MB / 1.159 GB, free: 392 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005556/0.9493, allocations: 1.447 MB / 1.161 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004732/0.954, allocations: 2.616 MB / 1.163 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006459/0.9605, allocations: 3.101 MB / 1.166 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.9727, allocations: 10.31 MB / 1.177 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.9727, allocations: 3.938 kB / 1.177 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9727, allocations: 4 kB / 1.177 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003172/0.973, allocations: 0 / 1.177 GB, free: 14.85 MB / 0.9044 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.01323/0.9863, allocations: 5.397 MB / 1.182 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.9863, allocations: 16.02 kB / 1.182 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004745/0.9911, allocations: 0.9548 MB / 1.183 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00569/0.9968, allocations: 2.995 MB / 1.186 GB, free: 5.352 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002805/0.9971, allocations: 361.9 kB / 1.186 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009262/0.998, allocations: 464.3 kB / 1.186 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0133/1.011, allocations: 7.918 MB / 1.194 GB, free: 12.26 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.51e-05/1.011, allocations: 19.78 kB / 1.194 GB, free: 12.24 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004766/1.012, allocations: 208 kB / 1.194 GB, free: 12.04 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000526/1.012, allocations: 369.1 kB / 1.195 GB, free: 11.67 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009967/1.022, allocations: 5.941 MB / 1.201 GB, free: 5.715 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03857/1.061, allocations: 36.2 MB / 1.236 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003392/1.064, allocations: 2.142 MB / 1.238 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001956/1.066, allocations: 1.481 MB / 1.239 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.55e-05/1.067, allocations: 25.23 kB / 1.239 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.926e-05/1.067, allocations: 59.72 kB / 1.24 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=157): time 3.627e-06/1.067, allocations: 0 / 1.24 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=160): time 0.01371/1.08, allocations: 7.532 MB / 1.247 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/1.08, allocations: 68.72 kB / 1.247 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/1.083, allocations: 1.864 MB / 1.249 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/1.083, allocations: 57.7 kB / 1.249 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001822/1.085, allocations: 2.115 MB / 1.251 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005073/1.085, allocations: 0.5624 MB / 1.251 GB, free: 14 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006142/1.086, allocations: 403.7 kB / 1.252 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.086, allocations: 305.1 kB / 1.252 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/1.088, allocations: 1.058 MB / 1.253 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/1.09, allocations: 1.768 MB / 1.255 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004145/1.094, allocations: 3.045 MB / 1.258 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/1.094, allocations: 8 kB / 1.258 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00665/1.101, allocations: 3.921 MB / 1.262 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/1.101, allocations: 16 kB / 1.262 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/1.101, allocations: 20 kB / 1.262 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00247/1.103, allocations: 0.9428 MB / 1.263 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/1.105, allocations: 435.3 kB / 1.263 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02427/1.129, allocations: 22.77 MB / 1.285 GB, free: 8.922 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/1.132, allocations: 119.9 kB / 1.285 GB, free: 8.805 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/1.132, allocations: 96 kB / 1.285 GB, free: 8.711 MB / 1.014 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.003178/1.135, allocations: 1.654 MB / 1.287 GB, free: 7.047 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006069/1.136, allocations: 253 kB / 1.287 GB, free: 6.797 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006012/1.142, allocations: 3.264 MB / 1.291 GB, free: 3.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/1.142, allocations: 16 kB / 1.291 GB, free: 3.465 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.581e-05/1.142, allocations: 12 kB / 1.291 GB, free: 3.453 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/1.142, allocations: 11.91 kB / 1.291 GB, free: 3.441 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/1.156, allocations: 7.545 MB / 1.298 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.156, allocations: 7.938 kB / 1.298 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008956/1.157, allocations: 216.2 kB / 1.298 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002323/1.159, allocations: 0.8999 MB / 1.299 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.882e-05/1.159, allocations: 32 kB / 1.299 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0232/1.182, allocations: 22.75 MB / 1.321 GB, free: 2.121 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-05/1.183, allocations: 4 kB / 1.321 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005766/1.188, allocations: 3.379 MB / 1.325 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.189, allocations: 0.5254 MB / 1.325 GB, free: 14.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/1.19, allocations: 31.91 kB / 1.325 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.191, allocations: 99.83 kB / 1.325 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/1.191, allocations: 141 kB / 1.325 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/1.191, allocations: 48 kB / 1.325 GB, free: 13.76 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00174/1.193, allocations: 1.221 MB / 1.327 GB, free: 12.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.193, allocations: 0 / 1.327 GB, free: 12.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002633/1.196, allocations: 0.9062 MB / 1.327 GB, free: 11.62 MB / 1.061 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.000284/1.196, allocations: 161.2 kB / 1.328 GB, free: 11.45 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.008294/1.204, allocations: 5.213 MB / 1.333 GB, free: 6.098 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.204, allocations: 4 kB / 1.333 GB, free: 6.094 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.004507/1.209, allocations: 2.977 MB / 1.336 GB, free: 2.961 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/1.213, allocations: 0.82 MB / 1.336 GB, free: 2.152 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/1.227, allocations: 8.33 MB / 1.345 GB, free: 9.73 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003808/1.231, allocations: 3.279 MB / 1.348 GB, free: 6.418 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006739/1.232, allocations: 155.4 kB / 1.348 GB, free: 6.266 MB / 1.076 GB Notification: Performance of SimCode: time 8.01e-07/1.232, allocations: 7.938 kB / 1.348 GB, free: 6.258 MB / 1.076 GB Notification: Performance of Templates: time 0.7505/1.982, allocations: 339.6 MB / 1.68 GB, free: 311.3 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches