Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.001366/0.001366, allocations: 112.4 kB / 17.08 MB, free: 5.949 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.001328/0.001328, allocations: 192.7 kB / 20.03 MB, free: 3.027 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.492/1.492, allocations: 222.9 MB / 245.7 MB, free: 4.203 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 3.034/3.034, allocations: 489.3 MB / 0.7687 GB, free: 3.773 MB / 0.6075 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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.91 kB / 1.103 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145/1.147, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01706/1.165, allocations: 14.06 MB / 1.276 GB, free: 14.39 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01768/1.182, allocations: 9.392 MB / 1.285 GB, free: 7.977 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002902/1.185, allocations: 60.25 kB / 1.286 GB, free: 7.953 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005489/1.191, allocations: 1.663 MB / 1.287 GB, free: 6.949 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007491/1.198, allocations: 1.552 MB / 1.289 GB, free: 6.027 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002951/1.201, allocations: 0.7546 MB / 1.289 GB, free: 5.637 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005543/1.207, allocations: 2.511 MB / 1.292 GB, free: 4.473 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002986/1.21, allocations: 1.411 MB / 1.293 GB, free: 3.809 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003105/1.213, allocations: 1.05 MB / 1.294 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00308/1.216, allocations: 1.138 MB / 1.295 GB, free: 2.879 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004124/1.216, allocations: 165.1 kB / 1.296 GB, free: 2.879 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/1.219, allocations: 0.7896 MB / 1.296 GB, free: 2.645 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008749/1.22, allocations: 0.6205 MB / 1.297 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001632/1.222, allocations: 0.9417 MB / 1.298 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006547/1.228, allocations: 2.763 MB / 1.301 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/1.228, allocations: 1.281 kB / 1.301 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.857e-06/1.228, allocations: 0 / 1.301 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001407/1.228, allocations: 0 / 1.301 GB, free: 0.8164 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006744/1.235, allocations: 2.192 MB / 1.303 GB, free: 15.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.235, allocations: 13.47 kB / 1.303 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/1.248, allocations: 2.095 MB / 1.305 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003943/1.252, allocations: 1.315 MB / 1.306 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/1.252, allocations: 86.39 kB / 1.306 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004216/1.252, allocations: 121.8 kB / 1.306 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007062/1.259, allocations: 2.673 MB / 1.309 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.226e-05/1.259, allocations: 15.66 kB / 1.309 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/1.259, allocations: 55.27 kB / 1.309 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006973/1.26, allocations: 179.4 kB / 1.309 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008803/1.269, allocations: 2.797 MB / 1.312 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01954/1.289, allocations: 10.47 MB / 1.322 GB, free: 5.398 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007594/1.296, allocations: 2.53 MB / 1.324 GB, free: 4.582 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003608/1.3, allocations: 1.286 MB / 1.326 GB, free: 4.219 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.698e-05/1.3, allocations: 10.19 kB / 1.326 GB, free: 4.219 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/1.3, allocations: 39.81 kB / 1.326 GB, free: 4.176 MB / 1.029 GB Notification: Performance of pre-optimization done (n=89): time 2.875e-06/1.3, allocations: 4 kB / 1.326 GB, free: 4.172 MB / 1.029 GB Notification: Performance of matching and sorting (n=131): time 0.05064/1.351, allocations: 13.39 MB / 1.339 GB, free: 13.56 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/1.351, allocations: 65.59 kB / 1.339 GB, free: 13.5 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/1.353, allocations: 1.12 MB / 1.34 GB, free: 12.88 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003824/1.353, allocations: 47.67 kB / 1.34 GB, free: 12.83 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006948/1.354, allocations: 0.7361 MB / 1.341 GB, free: 12.17 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006896/1.355, allocations: 468.4 kB / 1.341 GB, free: 11.77 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005766/1.355, allocations: 266.4 kB / 1.341 GB, free: 11.61 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002078/1.355, allocations: 361.1 kB / 1.342 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00364/1.359, allocations: 1.342 MB / 1.343 GB, free: 10.58 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003869/1.363, allocations: 1.607 MB / 1.345 GB, free: 9.57 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007841/1.371, allocations: 2.996 MB / 1.348 GB, free: 7.84 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1.371, allocations: 2.406 kB / 1.348 GB, free: 7.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01325/1.384, allocations: 4.449 MB / 1.352 GB, free: 5.387 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/1.384, allocations: 8.656 kB / 1.352 GB, free: 5.387 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/1.384, allocations: 10.62 kB / 1.352 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005609/1.39, allocations: 1.428 MB / 1.353 GB, free: 4.602 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/1.392, allocations: 440.2 kB / 1.354 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0318/1.424, allocations: 26.69 MB / 1.38 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003341/1.427, allocations: 303.7 kB / 1.38 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003214/1.428, allocations: 69.06 kB / 1.38 GB, free: 12.28 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00112/1.429, allocations: 437.6 kB / 1.381 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005216/1.429, allocations: 167.9 kB / 1.381 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/1.442, allocations: 4.462 MB / 1.385 GB, free: 7.723 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/1.442, allocations: 12 kB / 1.385 GB, free: 7.711 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-05/1.442, allocations: 12 kB / 1.385 GB, free: 7.699 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/1.442, allocations: 3.984 kB / 1.385 GB, free: 7.695 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01753/1.46, allocations: 6.764 MB / 1.392 GB, free: 0.7656 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/1.46, allocations: 4.344 kB / 1.392 GB, free: 0.7617 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002042/1.462, allocations: 379.4 kB / 1.392 GB, free: 400 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005305/1.467, allocations: 1.314 MB / 1.393 GB, free: 15.03 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003095/1.468, allocations: 39.97 kB / 1.393 GB, free: 14.99 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03005/1.498, allocations: 25.51 MB / 1.418 GB, free: 3.664 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.498, allocations: 4.031 kB / 1.418 GB, free: 3.66 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/1.51, allocations: 4.214 MB / 1.423 GB, free: 15.35 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/1.512, allocations: 467.8 kB / 1.423 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004591/1.512, allocations: 24 kB / 1.423 GB, free: 14.85 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/1.515, allocations: 303.5 kB / 1.423 GB, free: 14.55 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005199/1.515, allocations: 132.7 kB / 1.423 GB, free: 14.43 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/1.515, allocations: 47.97 kB / 1.423 GB, free: 14.38 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001311/1.517, allocations: 0.7526 MB / 1.424 GB, free: 13.62 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.517, allocations: 0 / 1.424 GB, free: 13.62 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002777/1.519, allocations: 0.5703 MB / 1.425 GB, free: 13.05 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003599/1.52, allocations: 143.1 kB / 1.425 GB, free: 12.91 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01274/1.533, allocations: 5.15 MB / 1.43 GB, free: 7.582 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.679e-05/1.533, allocations: 4.125 kB / 1.43 GB, free: 7.578 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.008104/1.541, allocations: 3.499 MB / 1.433 GB, free: 3.906 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/1.544, allocations: 0.554 MB / 1.434 GB, free: 3.371 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/1.554, allocations: 4.152 MB / 1.438 GB, free: 15.14 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/1.555, allocations: 1.473 MB / 1.439 GB, free: 13.64 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007792/1.556, allocations: 139.3 kB / 1.44 GB, free: 13.5 MB / 1.139 GB Notification: Performance of SimCode: time 9.62e-07/1.556, allocations: 4 kB / 1.44 GB, free: 13.5 MB / 1.139 GB Notification: Performance of Templates: time 0.1331/1.689, allocations: 112.6 MB / 1.549 GB, free: 12.88 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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: 21.66904595703818]