Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 100.1 kB / 15.88 MB, free: 12 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.001244/0.001244, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.353/1.353, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.716/2.716, allocations: 461.8 MB / 0.7348 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 74.16 kB / 0.8991 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3675, allocations: 157.4 MB / 1.053 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.041/0.4086, allocations: 32.33 MB / 1.084 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01742/0.426, allocations: 10.27 MB / 1.094 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003619/0.4297, allocations: 135.2 kB / 1.094 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009109/0.4389, allocations: 3.483 MB / 1.098 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006129/0.445, allocations: 1.735 MB / 1.1 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006451/0.4515, allocations: 1.949 MB / 1.101 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0121/0.4636, allocations: 10.57 MB / 1.112 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01851/0.4822, allocations: 10.62 MB / 1.122 GB, free: 1.016 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005857/0.4881, allocations: 2.701 MB / 1.125 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006474/0.4946, allocations: 3.548 MB / 1.128 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00224/0.4969, allocations: 455.9 kB / 1.129 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005064/0.502, allocations: 1.88 MB / 1.131 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004264/0.5063, allocations: 2.343 MB / 1.133 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006029/0.5123, allocations: 2.66 MB / 1.135 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.5224, allocations: 8.578 MB / 1.144 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.5224, allocations: 3.984 kB / 1.144 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.136e-06/0.5224, allocations: 4 kB / 1.144 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003703/0.5228, allocations: 0 / 1.144 GB, free: 10.79 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01492/0.5377, allocations: 4.994 MB / 1.149 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.5378, allocations: 11.97 kB / 1.149 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006993/0.5448, allocations: 0.955 MB / 1.15 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00652/0.5514, allocations: 2.855 MB / 1.152 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003604/0.5518, allocations: 353.7 kB / 1.153 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001842/0.5536, allocations: 464.2 kB / 1.153 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/0.5719, allocations: 7.671 MB / 1.161 GB, free: 9.016 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002574/0.5722, allocations: 23.77 kB / 1.161 GB, free: 8.992 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001304/0.5735, allocations: 204 kB / 1.161 GB, free: 8.793 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003492/0.5739, allocations: 313 kB / 1.161 GB, free: 8.484 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/0.5853, allocations: 5.71 MB / 1.167 GB, free: 2.758 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0394/0.6248, allocations: 35.08 MB / 1.201 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/0.6278, allocations: 2.167 MB / 1.203 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.6296, allocations: 1.261 MB / 1.204 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.6298, allocations: 21.31 kB / 1.204 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.6298, allocations: 47.81 kB / 1.204 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=133): time 4.438e-06/0.6298, allocations: 0 / 1.204 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=136): time 0.01458/0.6444, allocations: 7.081 MB / 1.211 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.6445, allocations: 64.72 kB / 1.211 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/0.647, allocations: 1.488 MB / 1.213 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.6472, allocations: 45.7 kB / 1.213 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.6486, allocations: 2.008 MB / 1.215 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004711/0.6491, allocations: 485.1 kB / 1.215 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005828/0.6497, allocations: 355.2 kB / 1.216 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.6498, allocations: 305.1 kB / 1.216 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.6511, allocations: 0.9135 MB / 1.217 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.6529, allocations: 1.593 MB / 1.218 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003386/0.6563, allocations: 2.733 MB / 1.221 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.015e-05/0.6563, allocations: 4 kB / 1.221 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006477/0.6628, allocations: 3.534 MB / 1.225 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.6629, allocations: 12 kB / 1.225 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.726e-05/0.6629, allocations: 24 kB / 1.225 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002702/0.6656, allocations: 0.908 MB / 1.225 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.6669, allocations: 347.4 kB / 1.226 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02111/0.6881, allocations: 21.21 MB / 1.247 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.6899, allocations: 99.95 kB / 1.247 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003644/0.6903, allocations: 88 kB / 1.247 GB, free: 10.89 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 (185): * 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: 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.003185/0.6935, allocations: 1.609 MB / 1.248 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005774/0.694, allocations: 213.6 kB / 1.248 GB, free: 9.059 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005669/0.6997, allocations: 2.982 MB / 1.251 GB, free: 6.027 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.6998, allocations: 16 kB / 1.251 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.473e-05/0.6998, allocations: 11.98 kB / 1.251 GB, free: 6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.6998, allocations: 3.984 kB / 1.251 GB, free: 5.996 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6084/1.308, allocations: 7.347 MB / 1.259 GB, free: 185.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/1.308, allocations: 6.344 kB / 1.259 GB, free: 185.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008447/1.309, allocations: 176.3 kB / 1.259 GB, free: 185.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002501/1.312, allocations: 0.83 MB / 1.26 GB, free: 185 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/1.312, allocations: 28.56 kB / 1.26 GB, free: 185 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/1.327, allocations: 20.29 MB / 1.279 GB, free: 170 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/1.327, allocations: 9.719 kB / 1.279 GB, free: 170 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004832/1.332, allocations: 3.025 MB / 1.282 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008789/1.332, allocations: 455.3 kB / 1.283 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/1.333, allocations: 35.83 kB / 1.283 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007496/1.333, allocations: 68.55 kB / 1.283 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004469/1.334, allocations: 130.3 kB / 1.283 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.503e-05/1.334, allocations: 41.36 kB / 1.283 GB, free: 169.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00158/1.336, allocations: 0.9756 MB / 1.284 GB, free: 169.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.3e-07/1.336, allocations: 0.875 kB / 1.284 GB, free: 169.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003522/1.339, allocations: 0.7837 MB / 1.285 GB, free: 169.3 MB / 1.014 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002517/1.339, allocations: 153.9 kB / 1.285 GB, free: 169.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006117/1.345, allocations: 4.015 MB / 1.289 GB, free: 167.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.346, allocations: 4.125 kB / 1.289 GB, free: 167.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004095/1.35, allocations: 2.728 MB / 1.292 GB, free: 166.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/1.353, allocations: 0.6681 MB / 1.292 GB, free: 166.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/1.368, allocations: 9.789 MB / 1.302 GB, free: 161.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004561/1.372, allocations: 3.178 MB / 1.305 GB, free: 160.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006103/1.373, allocations: 124.9 kB / 1.305 GB, free: 160.4 MB / 1.014 GB Notification: Performance of SimCode: time 1.323e-06/1.373, allocations: 0 / 1.305 GB, free: 160.4 MB / 1.014 GB Notification: Performance of Templates: time 0.2747/1.648, allocations: 321.5 MB / 1.619 GB, free: 14.7 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches