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 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,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.00903/0.00903, allocations: 97.19 kB / 15.73 MB, free: 6.059 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.00198/0.00198, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.804/2.804, allocations: 472.6 MB / 0.7453 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 71.89 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3504, allocations: 159.9 MB / 1.226 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.7058/1.056, allocations: 30.77 MB / 1.256 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02011/1.076, allocations: 13.59 MB / 1.269 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004053/1.08, allocations: 141.8 kB / 1.269 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007923/1.088, allocations: 3.194 MB / 1.272 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009372/1.098, allocations: 2.659 MB / 1.275 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006435/1.104, allocations: 2.01 MB / 1.277 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01622/1.121, allocations: 7.623 MB / 1.284 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01289/1.134, allocations: 8.238 MB / 1.292 GB, free: 14.35 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009993/1.144, allocations: 3.401 MB / 1.296 GB, free: 12.89 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009462/1.153, allocations: 3.396 MB / 1.299 GB, free: 11.38 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.003076/1.156, allocations: 0.5958 MB / 1.299 GB, free: 11.38 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006248/1.162, allocations: 1.489 MB / 1.301 GB, free: 11.03 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004931/1.167, allocations: 2.371 MB / 1.303 GB, free: 10.03 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.009991/1.177, allocations: 2.878 MB / 1.306 GB, free: 8.199 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02062/1.198, allocations: 9.491 MB / 1.315 GB, free: 5.121 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/1.198, allocations: 0 / 1.315 GB, free: 5.121 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.803e-06/1.198, allocations: 4 kB / 1.315 GB, free: 5.117 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003998/1.199, allocations: 0.9688 kB / 1.315 GB, free: 5.117 MB / 1.014 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.02724/1.226, allocations: 5.264 MB / 1.32 GB, free: 1.973 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/1.226, allocations: 9.812 kB / 1.32 GB, free: 1.973 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008587/1.234, allocations: 1.019 MB / 1.321 GB, free: 1.484 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009209/1.244, allocations: 3.097 MB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004323/1.244, allocations: 315.3 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002595/1.247, allocations: 421.1 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01787/1.265, allocations: 6.793 MB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001666/1.265, allocations: 23.58 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007088/1.266, allocations: 180.6 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009426/1.267, allocations: 372.6 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01354/1.28, allocations: 5.118 MB / 1.337 GB, free: 7.988 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0456/1.326, allocations: 30.58 MB / 1.367 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/1.328, allocations: 1.384 MB / 1.369 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002167/1.331, allocations: 1.33 MB / 1.37 GB, free: 9.879 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/1.331, allocations: 17.25 kB / 1.37 GB, free: 9.863 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.667e-05/1.331, allocations: 59.81 kB / 1.37 GB, free: 9.797 MB / 1.061 GB Notification: Performance of pre-optimization done (n=130): time 3.636e-06/1.331, allocations: 0 / 1.37 GB, free: 9.797 MB / 1.061 GB Notification: Performance of matching and sorting (n=199): time 0.09219/1.423, allocations: 23.16 MB / 1.393 GB, free: 2.523 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/1.423, allocations: 73.41 kB / 1.393 GB, free: 2.438 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004285/1.427, allocations: 2.059 MB / 1.395 GB, free: 372 kB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0004688/1.428, allocations: 57.7 kB / 1.395 GB, free: 308 kB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001705/1.43, allocations: 2.063 MB / 1.397 GB, free: 14.22 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001095/1.431, allocations: 0.7087 MB / 1.397 GB, free: 13.5 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/1.432, allocations: 412.4 kB / 1.398 GB, free: 13.09 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.432, allocations: 313.1 kB / 1.398 GB, free: 12.79 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002343/1.435, allocations: 1.43 MB / 1.399 GB, free: 11.35 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002635/1.437, allocations: 2.01 MB / 1.401 GB, free: 9.094 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004804/1.442, allocations: 3.692 MB / 1.405 GB, free: 5.164 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/1.442, allocations: 4 kB / 1.405 GB, free: 5.16 MB / 1.092 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01145/1.454, allocations: 5.678 MB / 1.411 GB, free: 15.41 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/1.454, allocations: 13.41 kB / 1.411 GB, free: 15.4 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/1.454, allocations: 16.09 kB / 1.411 GB, free: 15.38 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007003/1.461, allocations: 2.087 MB / 1.413 GB, free: 13.24 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/1.463, allocations: 379.4 kB / 1.413 GB, free: 12.87 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04146/1.504, allocations: 38.46 MB / 1.451 GB, free: 3.887 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003615/1.508, allocations: 127.9 kB / 1.451 GB, free: 3.762 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000628/1.508, allocations: 91.98 kB / 1.451 GB, free: 3.672 MB / 1.139 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.00424/1.513, allocations: 1.509 MB / 1.452 GB, free: 2.152 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/1.514, allocations: 302.2 kB / 1.453 GB, free: 1.855 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.526, allocations: 5.212 MB / 1.458 GB, free: 12.57 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/1.527, allocations: 23.94 kB / 1.458 GB, free: 12.54 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-05/1.527, allocations: 19.98 kB / 1.458 GB, free: 12.52 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.955e-05/1.527, allocations: 7.969 kB / 1.458 GB, free: 12.52 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02242/1.549, allocations: 9.669 MB / 1.467 GB, free: 2.641 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/1.549, allocations: 8 kB / 1.467 GB, free: 2.633 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009832/1.55, allocations: 215.6 kB / 1.467 GB, free: 2.422 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006366/1.557, allocations: 1.839 MB / 1.469 GB, free: 0.5273 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003795/1.557, allocations: 40 kB / 1.469 GB, free: 500 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03938/1.596, allocations: 37.47 MB / 1.506 GB, free: 8.48 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.596, allocations: 7.938 kB / 1.506 GB, free: 8.473 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/1.607, allocations: 4.93 MB / 1.511 GB, free: 3.383 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/1.609, allocations: 0.6279 MB / 1.511 GB, free: 2.734 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001138/1.61, allocations: 47.94 kB / 1.511 GB, free: 2.688 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00221/1.612, allocations: 131.9 kB / 1.511 GB, free: 2.559 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007756/1.613, allocations: 197.5 kB / 1.512 GB, free: 2.363 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/1.613, allocations: 56 kB / 1.512 GB, free: 2.309 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003287/1.616, allocations: 1.378 MB / 1.513 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of sort global known variables: time 4.11e-07/1.616, allocations: 0 / 1.513 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.005632/1.622, allocations: 1.047 MB / 1.514 GB, free: 15.87 MB / 1.217 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.0005124/1.623, allocations: 177.7 kB / 1.514 GB, free: 15.69 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01071/1.633, allocations: 6.307 MB / 1.52 GB, free: 9.16 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.633, allocations: 0 / 1.52 GB, free: 9.16 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.008168/1.642, allocations: 4.406 MB / 1.525 GB, free: 4.52 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006317/1.648, allocations: 0.9877 MB / 1.526 GB, free: 3.559 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/1.668, allocations: 8.175 MB / 1.534 GB, free: 11.3 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006626/1.675, allocations: 3.128 MB / 1.537 GB, free: 8.133 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002263/1.677, allocations: 0.5237 MB / 1.537 GB, free: 7.605 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/1.678, allocations: 147.4 kB / 1.537 GB, free: 7.461 MB / 1.232 GB Notification: Performance of SimCode: time 1.002e-06/1.678, allocations: 0 / 1.537 GB, free: 7.461 MB / 1.232 GB Notification: Performance of Templates: time 0.1008/1.778, allocations: 58.49 MB / 1.594 GB, free: 13.79 MB / 1.295 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