Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.006952/0.006952, allocations: 95.73 kB / 15.73 MB, free: 6.008 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.001489/0.001489, allocations: 195.6 kB / 16.67 MB, free: 5.941 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 64.12 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095/1.096, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03846/1.135, allocations: 30.79 MB / 1.197 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02322/1.158, allocations: 13.58 MB / 1.21 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003876/1.162, allocations: 143.2 kB / 1.21 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.008842/1.171, allocations: 3.202 MB / 1.213 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.008446/1.18, allocations: 2.651 MB / 1.216 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006151/1.186, allocations: 2.011 MB / 1.218 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01212/1.198, allocations: 7.627 MB / 1.225 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01413/1.212, allocations: 8.229 MB / 1.233 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006724/1.219, allocations: 3.412 MB / 1.237 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006635/1.225, allocations: 3.387 MB / 1.24 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002132/1.228, allocations: 0.5977 MB / 1.24 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004834/1.232, allocations: 1.494 MB / 1.242 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.003957/1.236, allocations: 2.366 MB / 1.244 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.005948/1.242, allocations: 2.882 MB / 1.247 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01281/1.255, allocations: 9.484 MB / 1.256 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.255, allocations: 4 kB / 1.256 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.083e-06/1.255, allocations: 0 / 1.256 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002812/1.256, allocations: 3.938 kB / 1.256 GB, free: 7.609 MB / 0.9825 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.01259/1.268, allocations: 5.262 MB / 1.261 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.268, allocations: 15.98 kB / 1.261 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006253/1.275, allocations: 1.02 MB / 1.262 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007049/1.282, allocations: 3.097 MB / 1.265 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002613/1.282, allocations: 312.8 kB / 1.266 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/1.283, allocations: 428 kB / 1.266 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/1.296, allocations: 6.795 MB / 1.273 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000117/1.296, allocations: 23.83 kB / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004804/1.297, allocations: 180 kB / 1.273 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009101/1.298, allocations: 368 kB / 1.273 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009896/1.308, allocations: 5.114 MB / 1.278 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03458/1.342, allocations: 30.57 MB / 1.308 GB, free: 15.2 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/1.345, allocations: 1.383 MB / 1.31 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/1.346, allocations: 1.343 MB / 1.311 GB, free: 12.46 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.245e-05/1.346, allocations: 17.31 kB / 1.311 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/1.346, allocations: 51.88 kB / 1.311 GB, free: 12.39 MB / 1.045 GB Notification: Performance of pre-optimization done (n=130): time 2.825e-06/1.347, allocations: 0 / 1.311 GB, free: 12.39 MB / 1.045 GB Notification: Performance of matching and sorting (n=199): time 0.09173/1.438, allocations: 23.14 MB / 1.334 GB, free: 5.129 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/1.438, allocations: 73.41 kB / 1.334 GB, free: 5.043 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003398/1.442, allocations: 2.059 MB / 1.336 GB, free: 2.969 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000284/1.442, allocations: 61.64 kB / 1.336 GB, free: 2.902 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/1.444, allocations: 2.066 MB / 1.338 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007583/1.444, allocations: 0.7087 MB / 1.338 GB, free: 104 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007831/1.445, allocations: 420.4 kB / 1.339 GB, free: 15.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/1.445, allocations: 305.1 kB / 1.339 GB, free: 15.38 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/1.447, allocations: 1.43 MB / 1.34 GB, free: 13.95 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002538/1.45, allocations: 2.017 MB / 1.342 GB, free: 11.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004899/1.455, allocations: 3.684 MB / 1.346 GB, free: 7.762 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/1.455, allocations: 4 kB / 1.346 GB, free: 7.758 MB / 1.076 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01123/1.466, allocations: 5.674 MB / 1.352 GB, free: 2.016 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/1.466, allocations: 12.19 kB / 1.352 GB, free: 2.004 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/1.466, allocations: 20 kB / 1.352 GB, free: 1.984 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006743/1.473, allocations: 2.087 MB / 1.354 GB, free: 15.84 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/1.474, allocations: 371.4 kB / 1.354 GB, free: 15.48 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04139/1.516, allocations: 38.46 MB / 1.392 GB, free: 6.48 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/1.518, allocations: 123.9 kB / 1.392 GB, free: 6.359 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/1.518, allocations: 91.98 kB / 1.392 GB, free: 6.27 MB / 1.123 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.002749/1.521, allocations: 1.507 MB / 1.393 GB, free: 4.754 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005079/1.522, allocations: 306.1 kB / 1.394 GB, free: 4.453 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/1.532, allocations: 5.208 MB / 1.399 GB, free: 15.16 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/1.532, allocations: 20 kB / 1.399 GB, free: 15.14 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-05/1.532, allocations: 23.94 kB / 1.399 GB, free: 15.12 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/1.532, allocations: 8.25 kB / 1.399 GB, free: 15.11 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/1.55, allocations: 9.68 MB / 1.408 GB, free: 5.234 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.55, allocations: 4 kB / 1.408 GB, free: 5.23 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008464/1.551, allocations: 216.5 kB / 1.408 GB, free: 5.02 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005934/1.557, allocations: 1.846 MB / 1.41 GB, free: 3.117 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/1.557, allocations: 44 kB / 1.41 GB, free: 3.074 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03897/1.596, allocations: 37.47 MB / 1.447 GB, free: 11.08 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/1.596, allocations: 11.94 kB / 1.447 GB, free: 11.07 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009613/1.606, allocations: 4.922 MB / 1.452 GB, free: 5.988 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/1.607, allocations: 0.6279 MB / 1.452 GB, free: 5.34 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004224/1.608, allocations: 43.95 kB / 1.452 GB, free: 5.297 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/1.609, allocations: 135.8 kB / 1.452 GB, free: 5.164 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008173/1.61, allocations: 197.4 kB / 1.453 GB, free: 4.973 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.61, allocations: 60.19 kB / 1.453 GB, free: 4.914 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002557/1.613, allocations: 1.374 MB / 1.454 GB, free: 3.531 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.1e-07/1.613, allocations: 0 / 1.454 GB, free: 3.531 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003765/1.617, allocations: 1.047 MB / 1.455 GB, free: 2.484 MB / 1.186 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.0003414/1.617, allocations: 170.6 kB / 1.455 GB, free: 2.312 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01093/1.628, allocations: 6.303 MB / 1.461 GB, free: 11.78 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/1.628, allocations: 4.875 kB / 1.461 GB, free: 11.78 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00769/1.636, allocations: 4.405 MB / 1.466 GB, free: 7.137 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00518/1.641, allocations: 0.9984 MB / 1.467 GB, free: 6.168 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/1.656, allocations: 8.185 MB / 1.475 GB, free: 13.89 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00348/1.66, allocations: 3.125 MB / 1.478 GB, free: 10.73 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001829/1.662, allocations: 0.5276 MB / 1.478 GB, free: 10.2 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/1.662, allocations: 143.4 kB / 1.478 GB, free: 10.05 MB / 1.217 GB Notification: Performance of SimCode: time 5.21e-07/1.662, allocations: 0 / 1.478 GB, free: 10.05 MB / 1.217 GB Notification: Performance of Templates: time 0.09678/1.759, allocations: 58.5 MB / 1.535 GB, free: 328 kB / 1.264 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches