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.008117/0.008116, allocations: 99.45 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.002006/0.002006, allocations: 194.3 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.52/2.52, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001297, allocations: 68.11 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.112, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0359/1.148, allocations: 30.77 MB / 1.197 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02435/1.173, allocations: 13.59 MB / 1.21 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004124/1.177, allocations: 143.2 kB / 1.21 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.009306/1.186, allocations: 3.203 MB / 1.213 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01029/1.196, allocations: 2.755 MB / 1.216 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.007073/1.204, allocations: 2.009 MB / 1.218 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0137/1.217, allocations: 7.644 MB / 1.225 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01644/1.234, allocations: 8.238 MB / 1.233 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007703/1.242, allocations: 3.455 MB / 1.237 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006776/1.248, allocations: 3.391 MB / 1.24 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002244/1.251, allocations: 0.5938 MB / 1.241 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00491/1.256, allocations: 1.494 MB / 1.242 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.004292/1.26, allocations: 2.37 MB / 1.244 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.007029/1.267, allocations: 2.882 MB / 1.247 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01579/1.283, allocations: 9.488 MB / 1.256 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/1.283, allocations: 0 / 1.256 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.274e-06/1.283, allocations: 0 / 1.256 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0003931/1.283, allocations: 0 / 1.256 GB, free: 7.406 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.01997/1.303, allocations: 5.27 MB / 1.262 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.303, allocations: 16.88 kB / 1.262 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006987/1.31, allocations: 1.016 MB / 1.263 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008247/1.319, allocations: 3.105 MB / 1.266 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003082/1.319, allocations: 320.8 kB / 1.266 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001666/1.321, allocations: 420 kB / 1.266 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/1.335, allocations: 6.784 MB / 1.273 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/1.335, allocations: 23.81 kB / 1.273 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005555/1.335, allocations: 192 kB / 1.273 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008929/1.336, allocations: 368 kB / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/1.347, allocations: 5.114 MB / 1.279 GB, free: 328 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03793/1.385, allocations: 30.57 MB / 1.308 GB, free: 14.99 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/1.387, allocations: 1.391 MB / 1.31 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/1.389, allocations: 1.339 MB / 1.311 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/1.389, allocations: 17.3 kB / 1.311 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.684e-05/1.389, allocations: 51.81 kB / 1.311 GB, free: 12.18 MB / 1.045 GB Notification: Performance of pre-optimization done (n=130): time 3.567e-06/1.389, allocations: 4 kB / 1.311 GB, free: 12.17 MB / 1.045 GB Notification: Performance of matching and sorting (n=199): time 0.1101/1.499, allocations: 23.14 MB / 1.334 GB, free: 4.918 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/1.499, allocations: 77.39 kB / 1.334 GB, free: 4.828 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/1.503, allocations: 2.059 MB / 1.336 GB, free: 2.754 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0004014/1.504, allocations: 61.7 kB / 1.336 GB, free: 2.688 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001601/1.505, allocations: 2.063 MB / 1.338 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009232/1.506, allocations: 0.7128 MB / 1.339 GB, free: 15.88 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00107/1.507, allocations: 408.4 kB / 1.339 GB, free: 15.48 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.507, allocations: 308.9 kB / 1.339 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002305/1.51, allocations: 1.437 MB / 1.341 GB, free: 13.73 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00273/1.512, allocations: 2.01 MB / 1.343 GB, free: 11.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005175/1.518, allocations: 3.692 MB / 1.346 GB, free: 7.551 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.068e-05/1.518, allocations: 8 kB / 1.346 GB, free: 7.543 MB / 1.076 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01188/1.53, allocations: 5.67 MB / 1.352 GB, free: 1.805 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/1.53, allocations: 12 kB / 1.352 GB, free: 1.793 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.769e-05/1.53, allocations: 20 kB / 1.352 GB, free: 1.773 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00714/1.537, allocations: 2.076 MB / 1.354 GB, free: 15.64 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/1.539, allocations: 379.4 kB / 1.354 GB, free: 15.27 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04214/1.581, allocations: 38.45 MB / 1.392 GB, free: 6.277 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002666/1.583, allocations: 127.9 kB / 1.392 GB, free: 6.152 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004431/1.584, allocations: 91.94 kB / 1.392 GB, free: 6.062 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.003063/1.587, allocations: 1.508 MB / 1.393 GB, free: 4.543 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008534/1.588, allocations: 298.2 kB / 1.394 GB, free: 4.25 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/1.599, allocations: 5.219 MB / 1.399 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/1.599, allocations: 20 kB / 1.399 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.363e-05/1.599, allocations: 20 kB / 1.399 GB, free: 14.91 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.213e-05/1.599, allocations: 11.95 kB / 1.399 GB, free: 14.9 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02208/1.621, allocations: 9.677 MB / 1.408 GB, free: 5.023 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/1.621, allocations: 4 kB / 1.408 GB, free: 5.02 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000975/1.622, allocations: 219.6 kB / 1.409 GB, free: 4.805 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006249/1.629, allocations: 1.834 MB / 1.41 GB, free: 2.914 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003037/1.629, allocations: 40 kB / 1.41 GB, free: 2.875 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04067/1.67, allocations: 37.48 MB / 1.447 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/1.67, allocations: 11.94 kB / 1.447 GB, free: 10.86 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/1.68, allocations: 4.93 MB / 1.452 GB, free: 5.773 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/1.682, allocations: 0.6279 MB / 1.452 GB, free: 5.125 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008621/1.683, allocations: 51.89 kB / 1.452 GB, free: 5.074 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/1.685, allocations: 123.8 kB / 1.453 GB, free: 4.953 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007967/1.686, allocations: 193.6 kB / 1.453 GB, free: 4.762 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002044/1.686, allocations: 59.98 kB / 1.453 GB, free: 4.703 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002829/1.689, allocations: 1.374 MB / 1.454 GB, free: 3.32 MB / 1.186 GB Notification: Performance of sort global known variables: time 4.41e-07/1.689, allocations: 0 / 1.454 GB, free: 3.32 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.004611/1.693, allocations: 1.047 MB / 1.455 GB, free: 2.273 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.0004265/1.694, allocations: 168.1 kB / 1.455 GB, free: 2.102 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01138/1.705, allocations: 6.307 MB / 1.461 GB, free: 11.57 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/1.705, allocations: 0 / 1.461 GB, free: 11.57 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.007539/1.713, allocations: 4.414 MB / 1.466 GB, free: 6.918 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006045/1.719, allocations: 0.9841 MB / 1.467 GB, free: 5.965 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01905/1.738, allocations: 8.188 MB / 1.475 GB, free: 13.68 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003977/1.742, allocations: 3.125 MB / 1.478 GB, free: 10.52 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001933/1.744, allocations: 0.5199 MB / 1.478 GB, free: 9.996 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/1.744, allocations: 155.4 kB / 1.478 GB, free: 9.844 MB / 1.217 GB Notification: Performance of SimCode: time 1.452e-06/1.744, allocations: 0 / 1.478 GB, free: 9.844 MB / 1.217 GB Notification: Performance of Templates: time 0.1067/1.851, allocations: 58.5 MB / 1.536 GB, free: 120 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