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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 496.2 MB / 0.7819 GB, free: 12.36 MB / 0.6231 GB " [Timeout remaining time 176] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.89 kB / 1.136 GB, free: 12.38 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9903/0.9923, allocations: 173.6 MB / 1.305 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02988/1.022, allocations: 32.14 MB / 1.337 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02224/1.044, allocations: 13.97 MB / 1.35 GB, free: 2.473 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004798/1.049, allocations: 140.3 kB / 1.351 GB, free: 2.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009007/1.058, allocations: 3.314 MB / 1.354 GB, free: 496 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01087/1.069, allocations: 2.778 MB / 1.357 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007377/1.076, allocations: 2.068 MB / 1.359 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01406/1.091, allocations: 7.622 MB / 1.366 GB, free: 10.19 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009313/1.1, allocations: 4.236 MB / 1.37 GB, free: 7.988 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008258/1.108, allocations: 3.468 MB / 1.374 GB, free: 6.496 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008665/1.117, allocations: 3.569 MB / 1.377 GB, free: 5 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.00296/1.12, allocations: 0.5959 MB / 1.378 GB, free: 5 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006605/1.126, allocations: 1.529 MB / 1.379 GB, free: 4.637 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.006305/1.133, allocations: 2.421 MB / 1.381 GB, free: 3.582 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01023/1.143, allocations: 2.89 MB / 1.384 GB, free: 1.742 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02338/1.166, allocations: 9.486 MB / 1.394 GB, free: 14.67 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.166, allocations: 0 / 1.394 GB, free: 14.67 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.994e-06/1.166, allocations: 0 / 1.394 GB, free: 14.67 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004166/1.167, allocations: 1.156 kB / 1.394 GB, free: 14.67 MB / 1.092 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.02361/1.19, allocations: 5.268 MB / 1.399 GB, free: 11.63 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 7.1e-05/1.19, allocations: 18.48 kB / 1.399 GB, free: 11.62 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009189/1.2, allocations: 1.021 MB / 1.4 GB, free: 11.32 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008652/1.208, allocations: 3.096 MB / 1.403 GB, free: 9.266 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004398/1.209, allocations: 315.2 kB / 1.403 GB, free: 9.121 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002367/1.211, allocations: 426.2 kB / 1.403 GB, free: 8.973 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01921/1.23, allocations: 6.784 MB / 1.41 GB, free: 4.754 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001838/1.23, allocations: 27.91 kB / 1.41 GB, free: 4.734 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000965/1.231, allocations: 179.8 kB / 1.41 GB, free: 4.602 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008656/1.232, allocations: 373.6 kB / 1.411 GB, free: 4.492 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01255/1.245, allocations: 5.117 MB / 1.416 GB, free: 1.848 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04431/1.289, allocations: 30.57 MB / 1.445 GB, free: 5.695 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/1.291, allocations: 1.318 MB / 1.447 GB, free: 4.742 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/1.293, allocations: 1.249 MB / 1.448 GB, free: 3.496 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/1.294, allocations: 13.31 kB / 1.448 GB, free: 3.484 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.787e-05/1.294, allocations: 55.81 kB / 1.448 GB, free: 3.422 MB / 1.123 GB Notification: Performance of pre-optimization done (n=130): time 2.865e-06/1.294, allocations: 0 / 1.448 GB, free: 3.422 MB / 1.123 GB Notification: Performance of matching and sorting (n=199): time 0.08833/1.382, allocations: 23.07 MB / 1.471 GB, free: 12.23 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/1.382, allocations: 73.41 kB / 1.471 GB, free: 12.14 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003339/1.385, allocations: 2.063 MB / 1.473 GB, free: 10.06 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003661/1.386, allocations: 61.7 kB / 1.473 GB, free: 9.996 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001637/1.387, allocations: 2.059 MB / 1.475 GB, free: 7.918 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000903/1.388, allocations: 0.7165 MB / 1.475 GB, free: 7.195 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009231/1.389, allocations: 404.4 kB / 1.476 GB, free: 6.793 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.389, allocations: 313 kB / 1.476 GB, free: 6.484 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/1.392, allocations: 1.43 MB / 1.478 GB, free: 5.051 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002863/1.395, allocations: 2.013 MB / 1.479 GB, free: 2.789 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005713/1.4, allocations: 3.692 MB / 1.483 GB, free: 14.86 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/1.4, allocations: 8 kB / 1.483 GB, free: 14.85 MB / 1.17 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01208/1.412, allocations: 5.6 MB / 1.489 GB, free: 9.184 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/1.412, allocations: 16 kB / 1.489 GB, free: 9.168 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/1.412, allocations: 16 kB / 1.489 GB, free: 9.152 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007368/1.42, allocations: 2.084 MB / 1.491 GB, free: 7.012 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/1.422, allocations: 379.4 kB / 1.491 GB, free: 6.641 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04702/1.469, allocations: 38.45 MB / 1.529 GB, free: 13.66 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/1.471, allocations: 123.9 kB / 1.529 GB, free: 13.54 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/1.472, allocations: 96 kB / 1.529 GB, free: 13.45 MB / 1.217 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.003608/1.475, allocations: 1.508 MB / 1.53 GB, free: 11.93 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007887/1.476, allocations: 294.2 kB / 1.53 GB, free: 11.64 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/1.488, allocations: 5.141 MB / 1.536 GB, free: 6.418 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/1.488, allocations: 20 kB / 1.536 GB, free: 6.398 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-05/1.488, allocations: 16 kB / 1.536 GB, free: 6.383 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.644e-05/1.488, allocations: 11.95 kB / 1.536 GB, free: 6.371 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02109/1.509, allocations: 9.614 MB / 1.545 GB, free: 12.55 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/1.509, allocations: 4 kB / 1.545 GB, free: 12.55 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/1.51, allocations: 219.6 kB / 1.545 GB, free: 12.34 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006324/1.516, allocations: 1.834 MB / 1.547 GB, free: 10.45 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002591/1.517, allocations: 48 kB / 1.547 GB, free: 10.4 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04713/1.564, allocations: 37.47 MB / 1.584 GB, free: 2.402 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/1.564, allocations: 11.94 kB / 1.584 GB, free: 2.391 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/1.574, allocations: 4.86 MB / 1.588 GB, free: 13.37 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/1.575, allocations: 0.6279 MB / 1.589 GB, free: 12.72 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005063/1.576, allocations: 44 kB / 1.589 GB, free: 12.68 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/1.577, allocations: 131.8 kB / 1.589 GB, free: 12.55 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006557/1.578, allocations: 193.5 kB / 1.589 GB, free: 12.36 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.578, allocations: 60 kB / 1.589 GB, free: 12.3 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002129/1.58, allocations: 1.374 MB / 1.591 GB, free: 10.92 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/1.58, allocations: 0 / 1.591 GB, free: 10.92 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004052/1.584, allocations: 1.047 MB / 1.592 GB, free: 9.871 MB / 1.279 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.0003291/1.585, allocations: 169 kB / 1.592 GB, free: 9.699 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01076/1.595, allocations: 6.018 MB / 1.598 GB, free: 3.453 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.595, allocations: 0 / 1.598 GB, free: 3.453 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.007363/1.603, allocations: 4.285 MB / 1.602 GB, free: 14.93 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004627/1.607, allocations: 0.9926 MB / 1.603 GB, free: 13.97 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/1.623, allocations: 8.286 MB / 1.611 GB, free: 5.594 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003846/1.627, allocations: 3.125 MB / 1.614 GB, free: 2.434 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001874/1.629, allocations: 0.5237 MB / 1.615 GB, free: 1.906 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000381/1.629, allocations: 147.4 kB / 1.615 GB, free: 1.766 MB / 1.295 GB Notification: Performance of SimCode: time 1.242e-06/1.629, allocations: 4 kB / 1.615 GB, free: 1.762 MB / 1.295 GB Notification: Performance of Templates: time 0.1111/1.74, allocations: 60.21 MB / 1.674 GB, free: 6.379 MB / 1.357 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.596642868593335]