Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001484/0.001484, allocations: 80.3 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.001697/0.001697, allocations: 158.2 kB / 22.45 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.48/1.48, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.735/2.735, allocations: 359 MB / 0.6037 GB, free: 14.96 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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.509e-05, allocations: 4.109 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04326/0.04329, allocations: 32.99 MB / 0.9832 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01786/0.06115, allocations: 9.866 MB / 0.9928 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002809/0.06395, allocations: 190.6 kB / 0.993 GB, free: 352 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01071/0.07466, allocations: 3.843 MB / 0.9968 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005804/0.08046, allocations: 2.198 MB / 0.9989 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005148/0.08561, allocations: 1.982 MB / 1.001 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01074/0.09635, allocations: 8.137 MB / 1.009 GB, free: 144 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/0.1065, allocations: 5.249 MB / 1.014 GB, free: 10.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009086/0.1156, allocations: 4.892 MB / 1.019 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006414/0.122, allocations: 3.46 MB / 1.022 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001727/0.1237, allocations: 0.6797 MB / 1.023 GB, free: 1.719 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003447/0.1272, allocations: 1.369 MB / 1.024 GB, free: 356 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003746/0.1309, allocations: 2.802 MB / 1.027 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003753/0.1347, allocations: 2.164 MB / 1.029 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0126/0.1472, allocations: 10.58 MB / 1.039 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1473, allocations: 3.984 kB / 1.039 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1473, allocations: 0 / 1.039 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0002129/0.1475, allocations: 0 / 1.039 GB, free: 0.7539 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01184/0.1593, allocations: 5.412 MB / 1.045 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1593, allocations: 8.031 kB / 1.045 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005179/0.1645, allocations: 1.001 MB / 1.046 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006669/0.1712, allocations: 3.131 MB / 1.049 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003211/0.1715, allocations: 357.9 kB / 1.049 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/0.1725, allocations: 468.3 kB / 1.049 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.016/0.1885, allocations: 8.667 MB / 1.058 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001189/0.1886, allocations: 23.95 kB / 1.058 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005609/0.1892, allocations: 208.3 kB / 1.058 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005898/0.1898, allocations: 373 kB / 1.058 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/0.2015, allocations: 5.933 MB / 1.064 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0385/0.24, allocations: 22.91 MB / 1.087 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004027/0.244, allocations: 1.991 MB / 1.089 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002421/0.2464, allocations: 1.33 MB / 1.09 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.2466, allocations: 13.31 kB / 1.09 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.968e-05/0.2466, allocations: 55.88 kB / 1.09 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=157): time 5.8e-06/0.2466, allocations: 0 / 1.09 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=160): time 0.01605/0.2627, allocations: 6.655 MB / 1.096 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.2627, allocations: 72.72 kB / 1.096 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/0.2657, allocations: 1.701 MB / 1.098 GB, free: 3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00024/0.266, allocations: 53.7 kB / 1.098 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001843/0.2678, allocations: 2.191 MB / 1.1 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006883/0.2685, allocations: 0.5771 MB / 1.101 GB, free: 152 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.481/0.7495, allocations: 396.3 kB / 1.101 GB, free: 144.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.7496, allocations: 302 kB / 1.102 GB, free: 144.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/0.7514, allocations: 1.067 MB / 1.103 GB, free: 144.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/0.7534, allocations: 1.759 MB / 1.104 GB, free: 143 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003912/0.7573, allocations: 3.052 MB / 1.107 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.732e-05/0.7573, allocations: 7.219 kB / 1.107 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007074/0.7644, allocations: 3.888 MB / 1.111 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.7644, allocations: 14.47 kB / 1.111 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.493e-05/0.7644, allocations: 23.12 kB / 1.111 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002596/0.767, allocations: 0.9229 MB / 1.112 GB, free: 139.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/0.7687, allocations: 428.5 kB / 1.112 GB, free: 139.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01726/0.786, allocations: 21.1 MB / 1.133 GB, free: 122 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/0.788, allocations: 124.5 kB / 1.133 GB, free: 121.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.7882, allocations: 93.31 kB / 1.133 GB, free: 121.9 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.00251/0.7907, allocations: 1.65 MB / 1.135 GB, free: 121.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000434/0.7911, allocations: 248.9 kB / 1.135 GB, free: 121.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005479/0.7966, allocations: 3.223 MB / 1.138 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.7966, allocations: 20.36 kB / 1.138 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/0.7966, allocations: 9.969 kB / 1.138 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/0.7967, allocations: 8.594 kB / 1.138 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.8074, allocations: 6.447 MB / 1.145 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.8074, allocations: 3.438 kB / 1.145 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009496/0.8084, allocations: 220.2 kB / 1.145 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002417/0.8108, allocations: 0.8899 MB / 1.146 GB, free: 116.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.8109, allocations: 31.86 kB / 1.146 GB, free: 116.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/0.8278, allocations: 21.07 MB / 1.166 GB, free: 99.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.8279, allocations: 8.969 kB / 1.166 GB, free: 99.44 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005298/0.8332, allocations: 3.33 MB / 1.17 GB, free: 97.96 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.8343, allocations: 460 kB / 1.17 GB, free: 97.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003005/0.8346, allocations: 38.17 kB / 1.17 GB, free: 97.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.8357, allocations: 89.53 kB / 1.17 GB, free: 97.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004697/0.8362, allocations: 150.8 kB / 1.17 GB, free: 97.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.8363, allocations: 47.16 kB / 1.17 GB, free: 97.63 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001633/0.8379, allocations: 1.086 MB / 1.171 GB, free: 97.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8379, allocations: 0 / 1.171 GB, free: 97.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00323/0.8412, allocations: 0.9014 MB / 1.172 GB, free: 97.12 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002694/0.8414, allocations: 153.5 kB / 1.172 GB, free: 97 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005806/0.8472, allocations: 4.291 MB / 1.177 GB, free: 94.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.8472, allocations: 1.469 kB / 1.177 GB, free: 94.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003365/0.8506, allocations: 2.897 MB / 1.179 GB, free: 92.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003242/0.8538, allocations: 0.7641 MB / 1.18 GB, free: 92.35 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.8647, allocations: 7.786 MB / 1.188 GB, free: 88.74 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002554/0.8673, allocations: 2.662 MB / 1.19 GB, free: 86.12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001577/0.8688, allocations: 0.5005 MB / 1.191 GB, free: 85.62 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.8692, allocations: 140.5 kB / 1.191 GB, free: 85.48 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/0.8692, allocations: 0 / 1.191 GB, free: 85.48 MB / 0.9981 GB Notification: Performance of Templates: time 0.05848/0.9277, allocations: 42.18 MB / 1.232 GB, free: 44.28 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 9.88240459561348]