Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001717/0.001717, allocations: 121.7 kB / 17.13 MB, free: 5.93 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.002038/0.002038, allocations: 213.8 kB / 20.1 MB, free: 2.98 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.646/1.646, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.94/2.94, allocations: 0.49 GB / 0.7923 GB, free: 1.328 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 71.91 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.939/0.941, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006269/0.9473, allocations: 6.255 MB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004576/0.9519, allocations: 3.243 MB / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004412/0.9523, allocations: 45.25 kB / 1.331 GB, free: 18.6 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002268/0.9546, allocations: 0.952 MB / 1.332 GB, free: 18.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.9558, allocations: 492.3 kB / 1.333 GB, free: 17.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.957, allocations: 0.4987 MB / 1.333 GB, free: 17.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00131/0.9583, allocations: 1.1 MB / 1.334 GB, free: 17 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007844/0.9591, allocations: 0.5131 MB / 1.335 GB, free: 16.78 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006901/0.9598, allocations: 465.5 kB / 1.335 GB, free: 16.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000667/0.9605, allocations: 499.3 kB / 1.336 GB, free: 16.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.9606, allocations: 58.12 kB / 1.336 GB, free: 16.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.9617, allocations: 0.4921 MB / 1.336 GB, free: 16.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003321/0.9621, allocations: 294.6 kB / 1.336 GB, free: 16.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003765/0.9624, allocations: 401.2 kB / 1.337 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.9639, allocations: 1.182 MB / 1.338 GB, free: 15.44 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.9639, allocations: 3.938 kB / 1.338 GB, free: 15.44 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9639, allocations: 0 / 1.338 GB, free: 15.44 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.9639, allocations: 5.312 kB / 1.338 GB, free: 15.43 MB / 1.061 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.001559/0.9655, allocations: 1.082 MB / 1.339 GB, free: 14.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.9655, allocations: 13.67 kB / 1.339 GB, free: 14.63 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.967, allocations: 231.8 kB / 1.339 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008658/0.9679, allocations: 0.5931 MB / 1.34 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.9679, allocations: 47.45 kB / 1.34 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.9681, allocations: 60.59 kB / 1.34 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.9695, allocations: 1.045 MB / 1.341 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.9695, allocations: 7.609 kB / 1.341 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.101e-05/0.9696, allocations: 28.52 kB / 1.341 GB, free: 13.51 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/0.9697, allocations: 73.58 kB / 1.341 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.9708, allocations: 0.6953 MB / 1.342 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004303/0.9751, allocations: 5.732 MB / 1.347 GB, free: 8.293 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000784/0.9758, allocations: 0.562 MB / 1.348 GB, free: 7.934 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007725/0.9766, allocations: 386.5 kB / 1.348 GB, free: 7.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.9766, allocations: 6.25 kB / 1.348 GB, free: 7.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.9767, allocations: 35.66 kB / 1.348 GB, free: 7.777 MB / 1.061 GB Notification: Performance of pre-optimization done (n=41): time 2.184e-06/0.9767, allocations: 1.062 kB / 1.348 GB, free: 7.777 MB / 1.061 GB Notification: Performance of matching and sorting (n=42): time 0.004343/0.981, allocations: 2.007 MB / 1.35 GB, free: 6.742 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.981, allocations: 55.72 kB / 1.35 GB, free: 6.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.9816, allocations: 476.7 kB / 1.351 GB, free: 6.449 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.9816, allocations: 31.95 kB / 1.351 GB, free: 6.414 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.9818, allocations: 398.5 kB / 1.351 GB, free: 6.098 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.9819, allocations: 156.1 kB / 1.351 GB, free: 5.977 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.9821, allocations: 108.7 kB / 1.351 GB, free: 5.914 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.9822, allocations: 369.6 kB / 1.352 GB, free: 5.574 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.9825, allocations: 242.1 kB / 1.352 GB, free: 5.492 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.983, allocations: 455.5 kB / 1.352 GB, free: 5.137 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008468/0.9838, allocations: 0.7525 MB / 1.353 GB, free: 4.621 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.9839, allocations: 6.031 kB / 1.353 GB, free: 4.617 MB / 1.061 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001927/0.9858, allocations: 1.028 MB / 1.354 GB, free: 4.188 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.9858, allocations: 8.281 kB / 1.354 GB, free: 4.188 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.9858, allocations: 7.188 kB / 1.354 GB, free: 4.188 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.9869, allocations: 328.3 kB / 1.355 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.9872, allocations: 102.3 kB / 1.355 GB, free: 4.066 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007004/0.9942, allocations: 7.468 MB / 1.362 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.9947, allocations: 29.81 kB / 1.362 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/0.9948, allocations: 25.25 kB / 1.362 GB, free: 13.69 MB / 1.076 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.0004754/0.9953, allocations: 241.4 kB / 1.362 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.9954, allocations: 64.59 kB / 1.362 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.9973, allocations: 0.8861 MB / 1.363 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.9973, allocations: 8.188 kB / 1.363 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.9973, allocations: 4.25 kB / 1.363 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.9973, allocations: 2.391 kB / 1.363 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003081/1, allocations: 1.668 MB / 1.365 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1, allocations: 1.594 kB / 1.365 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/1.001, allocations: 42.7 kB / 1.365 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/1.002, allocations: 318.2 kB / 1.365 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/1.002, allocations: 7.844 kB / 1.365 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008287/1.01, allocations: 7.459 MB / 1.372 GB, free: 5.758 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.01, allocations: 5.516 kB / 1.372 GB, free: 5.754 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/1.012, allocations: 0.987 MB / 1.373 GB, free: 5.234 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/1.012, allocations: 178.8 kB / 1.374 GB, free: 5.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-05/1.012, allocations: 9.047 kB / 1.374 GB, free: 5.086 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/1.013, allocations: 19.19 kB / 1.374 GB, free: 5.082 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/1.013, allocations: 44.16 kB / 1.374 GB, free: 5.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/1.013, allocations: 16.62 kB / 1.374 GB, free: 5.062 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004171/1.013, allocations: 310.9 kB / 1.374 GB, free: 4.918 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/1.013, allocations: 1.125 kB / 1.374 GB, free: 4.918 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009186/1.014, allocations: 197.5 kB / 1.374 GB, free: 4.895 MB / 1.076 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.0001856/1.014, allocations: 112.6 kB / 1.374 GB, free: 4.793 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002029/1.016, allocations: 1.15 MB / 1.375 GB, free: 4.094 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.016, allocations: 5.188 kB / 1.375 GB, free: 4.09 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/1.018, allocations: 0.8253 MB / 1.376 GB, free: 3.5 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/1.019, allocations: 217.3 kB / 1.376 GB, free: 3.422 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/1.021, allocations: 1.321 MB / 1.378 GB, free: 2.688 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008643/1.022, allocations: 0.9964 MB / 1.379 GB, free: 1.949 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/1.022, allocations: 38.81 kB / 1.379 GB, free: 1.945 MB / 1.076 GB Notification: Performance of SimCode: time 1.723e-06/1.022, allocations: 0 / 1.379 GB, free: 1.945 MB / 1.076 GB Notification: Performance of Templates: time 0.02836/1.051, allocations: 18.73 MB / 1.397 GB, free: 13.55 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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] Variables in the result:R1.i[1],R1.i[2],R1.v[1],R1.v[2],R2.i[1],R2.i[2],R2.v[1],R2.v[2],R3.i[1],R3.i[2],R3.v[1],R3.v[2],load_sc.i[1],load_sc.i[2],time [Calling sys.exit(0), Time elapsed: 14.473530527000548]