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.001799/0.001799, allocations: 80.92 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002135/0.002135, allocations: 163.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.471/1.471, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.68/2.68, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] 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 1.563e-06/1.563e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.954e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04629/0.04632, allocations: 35.67 MB / 0.9858 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02023/0.06655, allocations: 10.94 MB / 0.9965 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003023/0.06957, allocations: 206.5 kB / 0.9967 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01213/0.08171, allocations: 4.402 MB / 1.001 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007149/0.08886, allocations: 2.396 MB / 1.003 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006043/0.0949, allocations: 2.182 MB / 1.005 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01268/0.1076, allocations: 9.465 MB / 1.015 GB, free: 10.1 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01288/0.1205, allocations: 6.365 MB / 1.021 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01072/0.1312, allocations: 5.781 MB / 1.027 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007622/0.1388, allocations: 4.185 MB / 1.031 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.002124/0.1409, allocations: 0.8203 MB / 1.031 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004265/0.1452, allocations: 1.525 MB / 1.033 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00428/0.1495, allocations: 3.371 MB / 1.036 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.004579/0.154, allocations: 2.561 MB / 1.039 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02069/0.1747, allocations: 12.56 MB / 1.051 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/0.1747, allocations: 4 kB / 1.051 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1748, allocations: 0 / 1.051 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002871/0.175, allocations: 0 / 1.051 GB, free: 4.734 MB / 0.9512 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.01411/0.1891, allocations: 6.339 MB / 1.057 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1892, allocations: 8.031 kB / 1.057 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005296/0.1945, allocations: 1.109 MB / 1.058 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007567/0.202, allocations: 3.567 MB / 1.062 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003954/0.2024, allocations: 423.8 kB / 1.062 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/0.2037, allocations: 0.5432 MB / 1.063 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01878/0.2225, allocations: 10.29 MB / 1.073 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/0.2226, allocations: 24 kB / 1.073 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007762/0.2234, allocations: 246 kB / 1.073 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006639/0.2241, allocations: 414.9 kB / 1.073 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/0.2393, allocations: 7.127 MB / 1.08 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.55/0.7893, allocations: 25.31 MB / 1.105 GB, free: 129 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005044/0.7943, allocations: 2.902 MB / 1.108 GB, free: 128.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003226/0.7976, allocations: 1.937 MB / 1.11 GB, free: 128.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.7977, allocations: 22.47 kB / 1.11 GB, free: 128.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.217e-05/0.7978, allocations: 61.56 kB / 1.11 GB, free: 128.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 5.51e-06/0.7978, allocations: 0 / 1.11 GB, free: 128.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.02566/0.8234, allocations: 10.25 MB / 1.12 GB, free: 126 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.8235, allocations: 74.03 kB / 1.12 GB, free: 125.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/0.8263, allocations: 1.832 MB / 1.122 GB, free: 125.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002431/0.8266, allocations: 63.73 kB / 1.122 GB, free: 125.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002213/0.8288, allocations: 2.47 MB / 1.124 GB, free: 123.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009479/0.8297, allocations: 0.7607 MB / 1.125 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/0.8308, allocations: 475.2 kB / 1.125 GB, free: 122.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.904e-05/0.8309, allocations: 303.3 kB / 1.126 GB, free: 122.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002718/0.8336, allocations: 1.375 MB / 1.127 GB, free: 122.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002723/0.8363, allocations: 2.103 MB / 1.129 GB, free: 120.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004803/0.8411, allocations: 3.768 MB / 1.133 GB, free: 118.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.169e-05/0.8411, allocations: 6.875 kB / 1.133 GB, free: 118.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008826/0.85, allocations: 5.006 MB / 1.138 GB, free: 116.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/0.85, allocations: 15.14 kB / 1.138 GB, free: 116.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/0.85, allocations: 25.44 kB / 1.138 GB, free: 116.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003867/0.8539, allocations: 1.594 MB / 1.139 GB, free: 116.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.8558, allocations: 452.2 kB / 1.14 GB, free: 116.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02135/0.8772, allocations: 17.79 MB / 1.157 GB, free: 105.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002705/0.8799, allocations: 147.3 kB / 1.157 GB, free: 105.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004009/0.8803, allocations: 109.2 kB / 1.157 GB, free: 105.5 MB / 0.9981 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.003454/0.8837, allocations: 1.941 MB / 1.159 GB, free: 104.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006333/0.8843, allocations: 283.8 kB / 1.16 GB, free: 104.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006417/0.8908, allocations: 4.393 MB / 1.164 GB, free: 102.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.8908, allocations: 17.78 kB / 1.164 GB, free: 102.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.289e-05/0.8908, allocations: 22.69 kB / 1.164 GB, free: 102.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.8908, allocations: 7.969 kB / 1.164 GB, free: 102.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/0.9047, allocations: 8.357 MB / 1.172 GB, free: 97.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.9047, allocations: 3.75 kB / 1.172 GB, free: 97.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.9057, allocations: 241.1 kB / 1.172 GB, free: 97.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003082/0.9088, allocations: 1.422 MB / 1.174 GB, free: 96.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001541/0.909, allocations: 34.44 kB / 1.174 GB, free: 96.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01747/0.9265, allocations: 17.78 MB / 1.191 GB, free: 79.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9265, allocations: 8 kB / 1.191 GB, free: 79.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006176/0.9326, allocations: 4.471 MB / 1.195 GB, free: 75.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/0.9339, allocations: 0.545 MB / 1.196 GB, free: 74.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003387/0.9343, allocations: 40 kB / 1.196 GB, free: 74.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.9355, allocations: 115.9 kB / 1.196 GB, free: 74.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004864/0.936, allocations: 185.5 kB / 1.196 GB, free: 74.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.9361, allocations: 67.92 kB / 1.196 GB, free: 74.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001327/0.9375, allocations: 1.165 MB / 1.197 GB, free: 73.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9375, allocations: 2.812 kB / 1.197 GB, free: 73.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003155/0.9406, allocations: 1.137 MB / 1.199 GB, free: 72.04 MB / 0.9981 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.0002682/0.9409, allocations: 171 kB / 1.199 GB, free: 71.86 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006002/0.9469, allocations: 4.528 MB / 1.203 GB, free: 67.29 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.9469, allocations: 4 kB / 1.203 GB, free: 67.28 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003657/0.9506, allocations: 2.807 MB / 1.206 GB, free: 64.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003324/0.9539, allocations: 0.824 MB / 1.207 GB, free: 63.63 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/0.9675, allocations: 9.518 MB / 1.216 GB, free: 54.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003041/0.9705, allocations: 3.162 MB / 1.219 GB, free: 50.82 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00167/0.9722, allocations: 0.5304 MB / 1.22 GB, free: 50.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003714/0.9726, allocations: 140.5 kB / 1.22 GB, free: 50.15 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/0.9726, allocations: 4 kB / 1.22 GB, free: 50.15 MB / 0.9981 GB Notification: Performance of Templates: time 0.06885/1.041, allocations: 51.99 MB / 1.271 GB, free: 15.22 MB / 1.014 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: 10.143624275922775]