Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001324/0.001324, allocations: 108 kB / 17.08 MB, free: 6.016 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.001329/0.001329, allocations: 197.1 kB / 20.03 MB, free: 3.082 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.436/1.436, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.713/2.713, allocations: 437.1 MB / 0.7177 GB, free: 4.566 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 63.91 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3138, allocations: 151.6 MB / 1.176 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009117/0.3229, allocations: 6.81 MB / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005283/0.3283, allocations: 3.055 MB / 1.185 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000497/0.3288, allocations: 31.81 kB / 1.186 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.3313, allocations: 0.9566 MB / 1.186 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.3326, allocations: 0.4973 MB / 1.187 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.3337, allocations: 450.8 kB / 1.187 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001413/0.3351, allocations: 1.232 MB / 1.189 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009311/0.3361, allocations: 0.6622 MB / 1.189 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005966/0.3367, allocations: 478.3 kB / 1.19 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006826/0.3374, allocations: 0.5214 MB / 1.19 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.3375, allocations: 68 kB / 1.19 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007341/0.3382, allocations: 379.2 kB / 1.191 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003063/0.3386, allocations: 307.2 kB / 1.191 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.339, allocations: 453.7 kB / 1.191 GB, free: 6 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.3404, allocations: 1.23 MB / 1.193 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3404, allocations: 0 / 1.193 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3404, allocations: 0 / 1.193 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.035e-05/0.3405, allocations: 0 / 1.193 GB, free: 4.766 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002092/0.3426, allocations: 1.191 MB / 1.194 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3426, allocations: 12.03 kB / 1.194 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.3443, allocations: 244.1 kB / 1.194 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.3453, allocations: 0.6082 MB / 1.195 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.3454, allocations: 53.67 kB / 1.195 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.3455, allocations: 64.34 kB / 1.195 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.3471, allocations: 1.093 MB / 1.196 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.3472, allocations: 7.938 kB / 1.196 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.3472, allocations: 31.98 kB / 1.196 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/0.3474, allocations: 85.25 kB / 1.196 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.3486, allocations: 0.7465 MB / 1.197 GB, free: 440 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005819/0.3544, allocations: 5.883 MB / 1.202 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.3555, allocations: 0.5477 MB / 1.203 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004792/0.356, allocations: 338 kB / 1.203 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.356, allocations: 8.375 kB / 1.203 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.3561, allocations: 39 kB / 1.203 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 2.816e-06/0.3561, allocations: 0 / 1.203 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.004135/0.3602, allocations: 2.007 MB / 1.205 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.3603, allocations: 55.84 kB / 1.205 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007002/0.361, allocations: 0.5587 MB / 1.206 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.3611, allocations: 37.7 kB / 1.206 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.3614, allocations: 424 kB / 1.206 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.3616, allocations: 182.5 kB / 1.206 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.3618, allocations: 122.6 kB / 1.206 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.362, allocations: 382.7 kB / 1.207 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004217/0.3624, allocations: 273.8 kB / 1.207 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005961/0.363, allocations: 493 kB / 1.208 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.3641, allocations: 0.8132 MB / 1.208 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3641, allocations: 0 / 1.208 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001934/0.3661, allocations: 1.095 MB / 1.209 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3661, allocations: 8 kB / 1.209 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3661, allocations: 8 kB / 1.209 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000863/0.367, allocations: 275.8 kB / 1.21 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.3675, allocations: 131.7 kB / 1.21 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007241/0.3748, allocations: 7.143 MB / 1.217 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007013/0.3755, allocations: 39.95 kB / 1.217 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-05/0.3756, allocations: 32 kB / 1.217 GB, free: 10.23 MB / 0.9669 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0004058/0.376, allocations: 253.6 kB / 1.217 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.3761, allocations: 79.52 kB / 1.217 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.3778, allocations: 0.8925 MB / 1.218 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.3778, allocations: 4 kB / 1.218 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.3778, allocations: 7.938 kB / 1.218 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3778, allocations: 3.984 kB / 1.218 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/0.3805, allocations: 1.717 MB / 1.22 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3805, allocations: 0 / 1.22 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.3808, allocations: 67.83 kB / 1.22 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007687/0.3816, allocations: 267.3 kB / 1.22 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.3816, allocations: 12 kB / 1.22 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007048/0.3887, allocations: 7.126 MB / 1.227 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3887, allocations: 3.938 kB / 1.227 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.3904, allocations: 0.9878 MB / 1.228 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.3907, allocations: 196.8 kB / 1.228 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.993e-05/0.3908, allocations: 16 kB / 1.228 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.3912, allocations: 31.89 kB / 1.228 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.3913, allocations: 43.89 kB / 1.228 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.3914, allocations: 12 kB / 1.228 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004736/0.3919, allocations: 399.1 kB / 1.229 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3919, allocations: 0 / 1.229 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008312/0.3927, allocations: 224 kB / 1.229 GB, free: 13.16 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001612/0.3929, allocations: 111.2 kB / 1.229 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002073/0.3949, allocations: 1.283 MB / 1.23 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/0.395, allocations: 0 / 1.23 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.3963, allocations: 0.8932 MB / 1.231 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3973, allocations: 221.1 kB / 1.231 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.3996, allocations: 1.419 MB / 1.233 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006786/0.4003, allocations: 1.016 MB / 1.234 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.4005, allocations: 47.44 kB / 1.234 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of SimCode: time 5.92e-07/0.4005, allocations: 0 / 1.234 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of Templates: time 0.02572/0.4262, allocations: 20.92 MB / 1.254 GB, free: 3.109 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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: 13.703295597108081]