Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008/0.0008, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008119/0.0008119, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8973/0.8973, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.702/1.702, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 0 / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.63e-05/3.848e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03052/0.03055, allocations: 35.68 MB / 0.9866 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01462/0.04518, allocations: 10.94 MB / 0.9973 GB, free: 4.188 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/0.04889, allocations: 206.5 kB / 0.9975 GB, free: 3.984 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.005831/0.05472, allocations: 4.4 MB / 1.002 GB, free: 15.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.005124/0.05985, allocations: 2.392 MB / 1.004 GB, free: 13.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.004087/0.06394, allocations: 2.189 MB / 1.006 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.008932/0.07287, allocations: 9.473 MB / 1.015 GB, free: 1.477 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007997/0.08086, allocations: 6.358 MB / 1.022 GB, free: 11 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007589/0.08845, allocations: 5.781 MB / 1.027 GB, free: 5.207 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004721/0.09317, allocations: 4.197 MB / 1.031 GB, free: 1 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0008099/0.09398, allocations: 0.8203 MB / 1.032 GB, free: 184 kB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.09599, allocations: 1.513 MB / 1.034 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.09792, allocations: 3.367 MB / 1.037 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002212/0.1001, allocations: 2.565 MB / 1.04 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.4974/0.5975, allocations: 12.56 MB / 1.052 GB, free: 72.43 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5975, allocations: 2.969 kB / 1.052 GB, free: 72.43 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5975, allocations: 2.875 kB / 1.052 GB, free: 72.43 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003925/0.5979, allocations: 0 / 1.052 GB, free: 72.43 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0101/0.608, allocations: 6.326 MB / 1.058 GB, free: 70.3 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.608, allocations: 11.81 kB / 1.058 GB, free: 70.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.6107, allocations: 1.104 MB / 1.059 GB, free: 69.96 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003487/0.6141, allocations: 3.578 MB / 1.063 GB, free: 69.24 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.6143, allocations: 422.5 kB / 1.063 GB, free: 69.23 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005165/0.6148, allocations: 0.5402 MB / 1.063 GB, free: 69.23 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00834/0.6232, allocations: 10.29 MB / 1.074 GB, free: 67.07 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.905e-05/0.6233, allocations: 23.61 kB / 1.074 GB, free: 67.06 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000409/0.6237, allocations: 246.3 kB / 1.074 GB, free: 67.06 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003294/0.624, allocations: 423.3 kB / 1.074 GB, free: 67.05 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008309/0.6323, allocations: 7.12 MB / 1.081 GB, free: 67 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02199/0.6543, allocations: 25.31 MB / 1.106 GB, free: 50.99 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/0.6573, allocations: 2.899 MB / 1.109 GB, free: 49.92 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/0.6593, allocations: 1.937 MB / 1.111 GB, free: 49.2 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.745e-05/0.6594, allocations: 22.16 kB / 1.111 GB, free: 49.2 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.6594, allocations: 59.73 kB / 1.111 GB, free: 49.14 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=209): time 3.697e-06/0.6594, allocations: 1.156 kB / 1.111 GB, free: 49.14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=212): time 0.01483/0.6743, allocations: 10.25 MB / 1.121 GB, free: 45.4 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.6743, allocations: 74.5 kB / 1.121 GB, free: 45.34 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.676, allocations: 1.835 MB / 1.123 GB, free: 44.59 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.954e-05/0.6761, allocations: 64.28 kB / 1.123 GB, free: 44.53 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009309/0.6771, allocations: 2.474 MB / 1.125 GB, free: 42.65 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/0.6774, allocations: 0.7629 MB / 1.126 GB, free: 42.05 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004873/0.6779, allocations: 475.5 kB / 1.126 GB, free: 41.82 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.9e-05/0.678, allocations: 307 kB / 1.127 GB, free: 41.52 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.6793, allocations: 1.374 MB / 1.128 GB, free: 41 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.681, allocations: 2.104 MB / 1.13 GB, free: 39.61 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003184/0.6842, allocations: 3.766 MB / 1.134 GB, free: 37.48 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.6842, allocations: 8.219 kB / 1.134 GB, free: 37.48 MB / 0.9948 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005167/0.6894, allocations: 5.005 MB / 1.138 GB, free: 35.66 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.6894, allocations: 18.16 kB / 1.138 GB, free: 35.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.6894, allocations: 23.25 kB / 1.139 GB, free: 35.66 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002149/0.6916, allocations: 1.581 MB / 1.14 GB, free: 35.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/0.6924, allocations: 456 kB / 1.14 GB, free: 35.28 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.7041, allocations: 17.78 MB / 1.158 GB, free: 24.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.7053, allocations: 144 kB / 1.158 GB, free: 24.83 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.7054, allocations: 110.1 kB / 1.158 GB, free: 24.8 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00247/0.7079, allocations: 1.937 MB / 1.16 GB, free: 23.99 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.7081, allocations: 282.2 kB / 1.16 GB, free: 23.84 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003798/0.7119, allocations: 4.394 MB / 1.165 GB, free: 22.09 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.7119, allocations: 20.41 kB / 1.165 GB, free: 22.09 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.7119, allocations: 24.3 kB / 1.165 GB, free: 22.09 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.7119, allocations: 9.938 kB / 1.165 GB, free: 22.09 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007743/0.7197, allocations: 8.353 MB / 1.173 GB, free: 18.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.7197, allocations: 3.781 kB / 1.173 GB, free: 18.75 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.7201, allocations: 240.3 kB / 1.173 GB, free: 18.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/0.7218, allocations: 1.426 MB / 1.174 GB, free: 18.36 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.301e-05/0.7219, allocations: 36.28 kB / 1.174 GB, free: 18.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/0.7327, allocations: 17.79 MB / 1.192 GB, free: 4.398 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.7327, allocations: 7.469 kB / 1.192 GB, free: 4.395 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00359/0.7363, allocations: 4.466 MB / 1.196 GB, free: 15.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007998/0.7371, allocations: 0.5434 MB / 1.197 GB, free: 15.36 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.7373, allocations: 47.98 kB / 1.197 GB, free: 15.31 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006344/0.7379, allocations: 115.9 kB / 1.197 GB, free: 15.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/0.7382, allocations: 189 kB / 1.197 GB, free: 15.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-05/0.7383, allocations: 60 kB / 1.197 GB, free: 14.96 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001104/0.7394, allocations: 1.165 MB / 1.198 GB, free: 13.78 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.7394, allocations: 0 / 1.198 GB, free: 13.78 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002575/0.742, allocations: 1.141 MB / 1.199 GB, free: 12.64 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000233/0.7422, allocations: 171.8 kB / 1.2 GB, free: 12.48 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004478/0.7467, allocations: 4.533 MB / 1.204 GB, free: 8.023 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7467, allocations: 3.391 kB / 1.204 GB, free: 8.023 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002489/0.7492, allocations: 2.794 MB / 1.207 GB, free: 5.207 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.751, allocations: 0.822 MB / 1.207 GB, free: 4.414 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.7623, allocations: 10.31 MB / 1.218 GB, free: 10.02 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002727/0.765, allocations: 3.26 MB / 1.221 GB, free: 6.727 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.7654, allocations: 152.5 kB / 1.221 GB, free: 6.574 MB / 1.026 GB Notification: Performance of SimCode: time 9.02e-07/0.7654, allocations: 0 / 1.221 GB, free: 6.574 MB / 1.026 GB Notification: Performance of Templates: time 0.112/0.8774, allocations: 172.9 MB / 1.39 GB, free: 9.973 MB / 1.198 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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: 17.55664316471666]