Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002041/0.002041, 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.002349/0.002349, allocations: 191 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.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.823/2.823, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 65.17 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3728, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03411/0.4069, allocations: 30.5 MB / 1.082 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02334/0.4303, allocations: 13.56 MB / 1.095 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005133/0.4355, allocations: 131.2 kB / 1.095 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.008909/0.4445, allocations: 2.964 MB / 1.098 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009156/0.4537, allocations: 2.475 MB / 1.101 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006414/0.4601, allocations: 1.844 MB / 1.102 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01352/0.4737, allocations: 10.43 MB / 1.113 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01563/0.4893, allocations: 9.067 MB / 1.121 GB, free: 1.605 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006322/0.4957, allocations: 2.97 MB / 1.124 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006297/0.502, allocations: 3.43 MB / 1.128 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00193/0.504, allocations: 400 kB / 1.128 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005599/0.5096, allocations: 1.533 MB / 1.13 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004972/0.5146, allocations: 2.163 MB / 1.132 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006325/0.521, allocations: 2.64 MB / 1.134 GB, free: 4.438 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.5329, allocations: 9.297 MB / 1.143 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.5329, allocations: 0 / 1.143 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5329, allocations: 4 kB / 1.143 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003431/0.5333, allocations: 0 / 1.143 GB, free: 11.11 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01474/0.548, allocations: 5.124 MB / 1.148 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5481, allocations: 16.02 kB / 1.148 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006871/0.555, allocations: 0.9941 MB / 1.149 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007234/0.5622, allocations: 2.896 MB / 1.152 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000361/0.5626, allocations: 316.8 kB / 1.152 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001714/0.5643, allocations: 424 kB / 1.153 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/0.5813, allocations: 6.791 MB / 1.159 GB, free: 10.1 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001719/0.5816, allocations: 15.84 kB / 1.159 GB, free: 10.09 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009785/0.5825, allocations: 188 kB / 1.16 GB, free: 9.902 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008407/0.5834, allocations: 368 kB / 1.16 GB, free: 9.539 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009706/0.5931, allocations: 5.122 MB / 1.165 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03904/0.6322, allocations: 30.74 MB / 1.195 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.6345, allocations: 1.391 MB / 1.196 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001849/0.6363, allocations: 1.328 MB / 1.198 GB, free: 172 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.6365, allocations: 17.31 kB / 1.198 GB, free: 156 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.6365, allocations: 51.8 kB / 1.198 GB, free: 96 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=130): time 3.156e-06/0.6365, allocations: 0 / 1.198 GB, free: 96 kB / 0.9512 GB Notification: Performance of matching and sorting (n=199): time 0.08481/0.7214, allocations: 23.07 MB / 1.22 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.7215, allocations: 73.41 kB / 1.22 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003685/0.7252, allocations: 2.059 MB / 1.222 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003146/0.7255, allocations: 61.7 kB / 1.222 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.727, allocations: 2.01 MB / 1.224 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007964/0.7278, allocations: 0.6778 MB / 1.225 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009338/0.7288, allocations: 412.1 kB / 1.225 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.7289, allocations: 305.1 kB / 1.226 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/0.7311, allocations: 1.433 MB / 1.227 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002745/0.7338, allocations: 2.017 MB / 1.229 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004935/0.7388, allocations: 3.692 MB / 1.233 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.7388, allocations: 8 kB / 1.233 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01083/0.7497, allocations: 5.653 MB / 1.238 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.7497, allocations: 12 kB / 1.238 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/0.7498, allocations: 24.16 kB / 1.238 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006708/0.7565, allocations: 2.079 MB / 1.24 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.758, allocations: 375.3 kB / 1.241 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7138/1.472, allocations: 35.5 MB / 1.275 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/1.475, allocations: 125.4 kB / 1.275 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002915/1.475, allocations: 89.88 kB / 1.276 GB, free: 175.5 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.00307/1.478, allocations: 1.511 MB / 1.277 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007112/1.479, allocations: 285.3 kB / 1.277 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/1.49, allocations: 5.211 MB / 1.282 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-05/1.49, allocations: 19.25 kB / 1.282 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.445e-05/1.49, allocations: 17.97 kB / 1.282 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.295e-05/1.49, allocations: 9.703 kB / 1.282 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02137/1.512, allocations: 9.678 MB / 1.292 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.8e-05/1.512, allocations: 6.125 kB / 1.292 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000989/1.513, allocations: 217.3 kB / 1.292 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006457/1.519, allocations: 1.848 MB / 1.294 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003927/1.52, allocations: 42.72 kB / 1.294 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03131/1.551, allocations: 34.51 MB / 1.328 GB, free: 143.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.551, allocations: 3.969 kB / 1.328 GB, free: 143.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009655/1.561, allocations: 4.917 MB / 1.332 GB, free: 141.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/1.562, allocations: 0.6162 MB / 1.333 GB, free: 140.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008861/1.563, allocations: 39.52 kB / 1.333 GB, free: 140.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/1.565, allocations: 132.2 kB / 1.333 GB, free: 140.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007199/1.566, allocations: 193.5 kB / 1.333 GB, free: 140.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001982/1.566, allocations: 59.22 kB / 1.333 GB, free: 140.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002377/1.569, allocations: 1.374 MB / 1.335 GB, free: 140.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.31e-07/1.569, allocations: 4 kB / 1.335 GB, free: 140.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004254/1.573, allocations: 1.046 MB / 1.336 GB, free: 140 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000443/1.573, allocations: 166.8 kB / 1.336 GB, free: 139.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00904/1.582, allocations: 6.264 MB / 1.342 GB, free: 135.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/1.582, allocations: 7.906 kB / 1.342 GB, free: 135.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.006065/1.589, allocations: 4.39 MB / 1.346 GB, free: 132.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005335/1.594, allocations: 0.9278 MB / 1.347 GB, free: 131.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/1.609, allocations: 10.04 MB / 1.357 GB, free: 123.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004227/1.614, allocations: 3.123 MB / 1.36 GB, free: 120.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00228/1.616, allocations: 0.5217 MB / 1.361 GB, free: 120.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005366/1.617, allocations: 147.4 kB / 1.361 GB, free: 120 MB / 1.014 GB Notification: Performance of SimCode: time 1.132e-06/1.617, allocations: 0 / 1.361 GB, free: 120 MB / 1.014 GB Notification: Performance of Templates: time 0.0788/1.695, allocations: 58.23 MB / 1.418 GB, free: 62.59 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches