Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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 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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002142/0.002142, allocations: 192.1 kB / 16.53 MB, free: 6.625 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.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.809/2.809, allocations: 472.7 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 65.66 kB / 0.9121 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3165, allocations: 159.9 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01212/0.3287, allocations: 10.09 MB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005431/0.3342, allocations: 3.178 MB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007243/0.3349, allocations: 39.81 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001658/0.3366, allocations: 0.5903 MB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.3381, allocations: 0.7466 MB / 1.083 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.3397, allocations: 0.7329 MB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00284/0.3425, allocations: 2.992 MB / 1.086 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002775/0.3453, allocations: 2.618 MB / 1.089 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.3472, allocations: 1.254 MB / 1.09 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/0.3493, allocations: 1.55 MB / 1.091 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.00038/0.3497, allocations: 236 kB / 1.092 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.3507, allocations: 0.4955 MB / 1.092 GB, free: 1.711 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.3518, allocations: 1.076 MB / 1.093 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.353, allocations: 1.109 MB / 1.094 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003373/0.3564, allocations: 3.669 MB / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.3565, allocations: 0 / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.259e-05/0.3565, allocations: 0 / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.498e-05/0.3566, allocations: 0 / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004471/0.361, allocations: 2.142 MB / 1.1 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3611, allocations: 8.031 kB / 1.1 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009057/0.3702, allocations: 1.321 MB / 1.101 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/0.3728, allocations: 1.251 MB / 1.102 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.219e-05/0.3729, allocations: 111.4 kB / 1.103 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003809/0.3733, allocations: 148.3 kB / 1.103 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005399/0.3787, allocations: 3.442 MB / 1.106 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.3788, allocations: 7.938 kB / 1.106 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/0.379, allocations: 63.97 kB / 1.106 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002452/0.3792, allocations: 207.1 kB / 1.106 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004726/0.384, allocations: 3.128 MB / 1.109 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01749/0.4015, allocations: 13.62 MB / 1.123 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.4041, allocations: 1.733 MB / 1.124 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/0.4061, allocations: 1.436 MB / 1.126 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-05/0.4062, allocations: 13 kB / 1.126 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.4063, allocations: 47.5 kB / 1.126 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=104): time 3.586e-06/0.4063, allocations: 4 kB / 1.126 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of matching and sorting (n=183): time 0.1531/0.5593, allocations: 36.66 MB / 1.162 GB, free: 9.262 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.5594, allocations: 73.41 kB / 1.162 GB, free: 9.18 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.5613, allocations: 1.053 MB / 1.163 GB, free: 8.102 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004143/0.5617, allocations: 61.7 kB / 1.163 GB, free: 8.035 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005768/0.5623, allocations: 0.7835 MB / 1.164 GB, free: 7.238 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008074/0.5631, allocations: 0.6277 MB / 1.164 GB, free: 6.602 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009479/0.5641, allocations: 359.4 kB / 1.165 GB, free: 6.242 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.5642, allocations: 301.1 kB / 1.165 GB, free: 5.945 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002749/0.5669, allocations: 1.932 MB / 1.167 GB, free: 4.012 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003012/0.57, allocations: 2.285 MB / 1.169 GB, free: 1.605 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005996/0.576, allocations: 4.395 MB / 1.173 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.576, allocations: 3.938 kB / 1.173 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02225/0.5983, allocations: 9.02 MB / 1.182 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.5984, allocations: 19.86 kB / 1.182 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.5984, allocations: 8 kB / 1.182 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0178/0.6162, allocations: 5.005 MB / 1.187 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009908/0.6172, allocations: 191.7 kB / 1.187 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06223/0.6795, allocations: 38.93 MB / 1.225 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/0.6821, allocations: 103.9 kB / 1.225 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006122/0.6827, allocations: 68 kB / 1.225 GB, free: 7.117 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002456/0.6852, allocations: 0.8078 MB / 1.226 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005961/0.6858, allocations: 142.3 kB / 1.226 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02093/0.7068, allocations: 8.882 MB / 1.235 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/0.7068, allocations: 16 kB / 1.235 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001191/0.707, allocations: 32 kB / 1.235 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.632e-05/0.707, allocations: 7.969 kB / 1.235 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6328/1.34, allocations: 13.3 MB / 1.248 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.081e-05/1.34, allocations: 3.781 kB / 1.248 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007291/1.341, allocations: 126.8 kB / 1.248 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01839/1.359, allocations: 4.788 MB / 1.253 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003456/1.359, allocations: 36.2 kB / 1.253 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05216/1.412, allocations: 34.85 MB / 1.287 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-05/1.412, allocations: 6.938 kB / 1.287 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01918/1.431, allocations: 8.413 MB / 1.295 GB, free: 149.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.432, allocations: 0.6089 MB / 1.296 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003459/1.432, allocations: 51.59 kB / 1.296 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/1.434, allocations: 90.69 kB / 1.296 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009182/1.435, allocations: 162.7 kB / 1.296 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/1.435, allocations: 46.38 kB / 1.296 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000973/1.436, allocations: 0.7424 MB / 1.297 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.8e-07/1.436, allocations: 0 / 1.297 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002933/1.439, allocations: 1.001 MB / 1.298 GB, free: 148.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003185/1.439, allocations: 141.8 kB / 1.298 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0096/1.449, allocations: 6.692 MB / 1.304 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.449, allocations: 0 / 1.304 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007377/1.456, allocations: 3.826 MB / 1.308 GB, free: 144.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/1.458, allocations: 242 kB / 1.308 GB, free: 144 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006596/1.464, allocations: 4.988 MB / 1.313 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/1.466, allocations: 1.863 MB / 1.315 GB, free: 140 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007233/1.467, allocations: 352.4 kB / 1.315 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/1.467, allocations: 63.42 kB / 1.315 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.172e-06/1.467, allocations: 3.609 kB / 1.315 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.06653/1.533, allocations: 59.13 MB / 1.373 GB, free: 80.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches