Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.002339/0.002339, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.00262/0.00262, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.632/1.632, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 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.879/2.879, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.416e-05/3.622e-05, allocations: 7.906 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009873/0.009909, allocations: 6.2 MB / 0.7924 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00661/0.01652, allocations: 3.231 MB / 0.7956 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005261/0.01705, allocations: 44.25 kB / 0.7956 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002853/0.0199, allocations: 0.962 MB / 0.7966 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.02152, allocations: 0.4998 MB / 0.7971 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.02304, allocations: 0.5012 MB / 0.7975 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001695/0.02473, allocations: 1.127 MB / 0.7987 GB, free: 232 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009793/0.02571, allocations: 0.5106 MB / 0.7991 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.02676, allocations: 0.6124 MB / 0.7997 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007437/0.0275, allocations: 431.5 kB / 0.8002 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0003909/0.02789, allocations: 60.81 kB / 0.8002 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.02893, allocations: 450.8 kB / 0.8006 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000387/0.02932, allocations: 312.5 kB / 0.8009 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.000419/0.02974, allocations: 275.3 kB / 0.8012 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.0317, allocations: 1.219 MB / 0.8024 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.03171, allocations: 4 kB / 0.8024 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.703e-06/0.03171, allocations: 1.156 kB / 0.8024 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.03172, allocations: 0 / 0.8024 GB, free: 12.38 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002085/0.03381, allocations: 1.143 MB / 0.8035 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.03385, allocations: 13.83 kB / 0.8035 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.03554, allocations: 339.6 kB / 0.8039 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.0367, allocations: 0.5582 MB / 0.8044 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.03675, allocations: 46.33 kB / 0.8044 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.03688, allocations: 68.33 kB / 0.8045 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.03841, allocations: 0.9647 MB / 0.8055 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.03844, allocations: 4.188 kB / 0.8055 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.085e-05/0.03851, allocations: 31.89 kB / 0.8055 GB, free: 9 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.03863, allocations: 73.2 kB / 0.8056 GB, free: 8.926 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007859/0.03941, allocations: 380.5 kB / 0.8059 GB, free: 8.555 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006696/0.04611, allocations: 5.8 MB / 0.8116 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006851/0.0468, allocations: 264 kB / 0.8118 GB, free: 2.289 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007364/0.04753, allocations: 269.8 kB / 0.8121 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.04758, allocations: 8 kB / 0.8121 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.04762, allocations: 41.17 kB / 0.8121 GB, free: 1.965 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 5.771e-06/0.04763, allocations: 3.984 kB / 0.8121 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.004125/0.05175, allocations: 1.187 MB / 0.8133 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.05181, allocations: 63.19 kB / 0.8134 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006659/0.05248, allocations: 0.5492 MB / 0.8139 GB, free: 112 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.05252, allocations: 33.7 kB / 0.8139 GB, free: 72 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007082/0.05323, allocations: 462.7 kB / 0.8144 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.0534, allocations: 166.7 kB / 0.8145 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.05361, allocations: 128 kB / 0.8147 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003497/0.05396, allocations: 0.5508 MB / 0.8152 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.05423, allocations: 121.2 kB / 0.8153 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/0.0548, allocations: 436.7 kB / 0.8157 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009119/0.05571, allocations: 0.5994 MB / 0.8163 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.05572, allocations: 0 / 0.8163 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00177/0.05749, allocations: 0.7764 MB / 0.8171 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.05751, allocations: 10.5 kB / 0.8171 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.05752, allocations: 4 kB / 0.8171 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.05874, allocations: 278.9 kB / 0.8173 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.05909, allocations: 103.8 kB / 0.8174 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008771/0.06786, allocations: 7.892 MB / 0.8252 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004892/0.06835, allocations: 31.97 kB / 0.8252 GB, free: 3.727 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/0.0684, allocations: 24 kB / 0.8252 GB, free: 3.703 MB / 0.7761 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003681/0.06877, allocations: 224.3 kB / 0.8254 GB, free: 3.473 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.0689, allocations: 71.62 kB / 0.8255 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.07049, allocations: 0.5988 MB / 0.8261 GB, free: 2.781 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.07049, allocations: 4 kB / 0.8261 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.0705, allocations: 4 kB / 0.8261 GB, free: 2.773 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.07051, allocations: 15.86 kB / 0.8261 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/0.07321, allocations: 1.274 MB / 0.8273 GB, free: 1.398 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.07321, allocations: 0 / 0.8273 GB, free: 1.398 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.0734, allocations: 47.91 kB / 0.8274 GB, free: 1.352 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.07454, allocations: 275 kB / 0.8276 GB, free: 1.066 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.07458, allocations: 8 kB / 0.8277 GB, free: 1.059 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009071/0.08365, allocations: 7.887 MB / 0.8354 GB, free: 8.68 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.08365, allocations: 3.938 kB / 0.8354 GB, free: 8.676 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.08538, allocations: 0.778 MB / 0.8361 GB, free: 7.836 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/0.08568, allocations: 95.52 kB / 0.8362 GB, free: 7.742 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/0.08574, allocations: 8 kB / 0.8362 GB, free: 7.734 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.08604, allocations: 23.97 kB / 0.8362 GB, free: 7.711 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.08617, allocations: 43.67 kB / 0.8363 GB, free: 7.668 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.0862, allocations: 16 kB / 0.8363 GB, free: 7.652 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004424/0.08664, allocations: 342.8 kB / 0.8366 GB, free: 7.32 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.81e-07/0.08665, allocations: 4 kB / 0.8366 GB, free: 7.316 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008963/0.08754, allocations: 196 kB / 0.8368 GB, free: 7.125 MB / 0.7917 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001843/0.08773, allocations: 115.1 kB / 0.8369 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.0898, allocations: 1.187 MB / 0.8381 GB, free: 5.746 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.0898, allocations: 0 / 0.8381 GB, free: 5.746 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.09127, allocations: 0.976 MB / 0.839 GB, free: 4.695 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.09231, allocations: 199.5 kB / 0.8392 GB, free: 4.512 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.09461, allocations: 1.186 MB / 0.8404 GB, free: 3.266 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.09513, allocations: 386.9 kB / 0.8408 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000259/0.09539, allocations: 85 kB / 0.8408 GB, free: 2.777 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.751e-05/0.09548, allocations: 36.48 kB / 0.8409 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of SimCode: time 1.252e-06/0.09548, allocations: 0 / 0.8409 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of Templates: time 0.02131/0.1168, allocations: 10.54 MB / 0.8512 GB, free: 8.414 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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: 8.450533863971941]