Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002329/0.002329, allocations: 191.7 kB / 16.25 MB, free: 6.648 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.407/1.407, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.827/2.827, allocations: 482.3 MB / 0.7543 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002082, allocations: 74.22 kB / 0.9233 GB, free: 29.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3973, allocations: 162.2 MB / 1.082 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.0432/0.4406, allocations: 34.52 MB / 1.115 GB, free: 11 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02097/0.4616, allocations: 11.4 MB / 1.127 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004982/0.4666, allocations: 147.2 kB / 1.127 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01141/0.4781, allocations: 4.007 MB / 1.131 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007305/0.4855, allocations: 1.82 MB / 1.132 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007347/0.4928, allocations: 2.2 MB / 1.135 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01261/0.5055, allocations: 8.483 MB / 1.143 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02241/0.5279, allocations: 13.42 MB / 1.156 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007974/0.536, allocations: 3.797 MB / 1.16 GB, free: 13.54 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009268/0.5453, allocations: 4.39 MB / 1.164 GB, free: 9.141 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002967/0.5483, allocations: 0.7773 MB / 1.165 GB, free: 8.363 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005999/0.5543, allocations: 2.028 MB / 1.167 GB, free: 6.332 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.005371/0.5597, allocations: 3.06 MB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.007745/0.5675, allocations: 3.397 MB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0171/0.5846, allocations: 12.01 MB / 1.185 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5846, allocations: 0 / 1.185 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5846, allocations: 0 / 1.185 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0004091/0.5851, allocations: 0 / 1.185 GB, free: 3.809 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01584/0.6009, allocations: 5.806 MB / 1.19 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.601, allocations: 8.031 kB / 1.19 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006847/0.6078, allocations: 1.052 MB / 1.191 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007822/0.6157, allocations: 3.266 MB / 1.195 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000452/0.6162, allocations: 415.5 kB / 1.195 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002327/0.6185, allocations: 0.5354 MB / 1.196 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02273/0.6413, allocations: 9.079 MB / 1.204 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001985/0.6415, allocations: 31.62 kB / 1.204 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001118/0.6426, allocations: 240 kB / 1.205 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004228/0.6431, allocations: 346.8 kB / 1.205 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01574/0.6588, allocations: 6.83 MB / 1.212 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5867/1.246, allocations: 40.11 MB / 1.251 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004314/1.25, allocations: 3.108 MB / 1.254 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002995/1.253, allocations: 1.965 MB / 1.256 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/1.253, allocations: 19.44 kB / 1.256 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/1.253, allocations: 54.61 kB / 1.256 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=179): time 3.437e-06/1.253, allocations: 0 / 1.256 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=182): time 0.02309/1.276, allocations: 9.98 MB / 1.266 GB, free: 136.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/1.276, allocations: 74.88 kB / 1.266 GB, free: 136.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/1.278, allocations: 1.53 MB / 1.267 GB, free: 135.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001819/1.279, allocations: 53.55 kB / 1.267 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/1.28, allocations: 2.255 MB / 1.269 GB, free: 134 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005518/1.281, allocations: 0.6275 MB / 1.27 GB, free: 133.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006926/1.281, allocations: 407.7 kB / 1.27 GB, free: 133.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.518e-05/1.281, allocations: 305.7 kB / 1.271 GB, free: 133 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/1.283, allocations: 1.18 MB / 1.272 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/1.285, allocations: 1.88 MB / 1.274 GB, free: 131.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00385/1.289, allocations: 3.373 MB / 1.277 GB, free: 129.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/1.289, allocations: 6.703 kB / 1.277 GB, free: 129.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008047/1.297, allocations: 4.582 MB / 1.281 GB, free: 127.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/1.297, allocations: 18.59 kB / 1.282 GB, free: 127.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.424e-05/1.297, allocations: 26.44 kB / 1.282 GB, free: 127.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003945/1.301, allocations: 1.584 MB / 1.283 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/1.303, allocations: 355.9 kB / 1.283 GB, free: 127 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02189/1.325, allocations: 18.6 MB / 1.302 GB, free: 115.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/1.327, allocations: 117.6 kB / 1.302 GB, free: 115.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002666/1.328, allocations: 93.38 kB / 1.302 GB, free: 115.7 MB / 0.9981 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004303/1.332, allocations: 1.899 MB / 1.304 GB, free: 114.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006899/1.333, allocations: 232.6 kB / 1.304 GB, free: 114.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006182/1.339, allocations: 4.09 MB / 1.308 GB, free: 112.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/1.339, allocations: 19.69 kB / 1.308 GB, free: 112.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-05/1.339, allocations: 15.81 kB / 1.308 GB, free: 112.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/1.339, allocations: 15.92 kB / 1.308 GB, free: 112.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/1.352, allocations: 9.466 MB / 1.317 GB, free: 106.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/1.352, allocations: 4.312 kB / 1.317 GB, free: 106.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/1.353, allocations: 187.1 kB / 1.317 GB, free: 106.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002939/1.356, allocations: 1.362 MB / 1.319 GB, free: 106.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/1.356, allocations: 35.38 kB / 1.319 GB, free: 106.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/1.372, allocations: 17.36 MB / 1.336 GB, free: 91.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/1.372, allocations: 9.172 kB / 1.336 GB, free: 91.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005395/1.377, allocations: 4.069 MB / 1.34 GB, free: 87.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009221/1.378, allocations: 0.5256 MB / 1.34 GB, free: 87.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/1.378, allocations: 38.19 kB / 1.34 GB, free: 87.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008374/1.379, allocations: 87.89 kB / 1.34 GB, free: 87.04 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004174/1.379, allocations: 165.6 kB / 1.34 GB, free: 86.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.211e-05/1.38, allocations: 48 kB / 1.34 GB, free: 86.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001073/1.381, allocations: 1.005 MB / 1.341 GB, free: 85.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.381, allocations: 0 / 1.341 GB, free: 85.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003041/1.384, allocations: 0.9883 MB / 1.342 GB, free: 84.81 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002461/1.384, allocations: 151 kB / 1.343 GB, free: 84.65 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007298/1.391, allocations: 5.192 MB / 1.348 GB, free: 79.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.391, allocations: 1 kB / 1.348 GB, free: 79.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003422/1.395, allocations: 2.663 MB / 1.35 GB, free: 76.72 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003099/1.398, allocations: 0.7896 MB / 1.351 GB, free: 75.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/1.411, allocations: 11.01 MB / 1.362 GB, free: 64.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003019/1.414, allocations: 3.576 MB / 1.365 GB, free: 61.29 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001409/1.416, allocations: 467.9 kB / 1.366 GB, free: 60.83 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/1.416, allocations: 115.4 kB / 1.366 GB, free: 60.72 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/1.416, allocations: 4 kB / 1.366 GB, free: 60.71 MB / 0.9981 GB Notification: Performance of Templates: time 0.06303/1.479, allocations: 44.21 MB / 1.409 GB, free: 17.01 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches