Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001674/0.001674, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002092/0.002092, allocations: 212.8 kB / 23.01 MB, free: 4.566 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 8.008 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 3.267/3.267, allocations: 0.49 GB / 0.7958 GB, free: 33.37 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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [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.002234/0.002234, allocations: 63.09 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.4317, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04688/0.4786, allocations: 36.81 MB / 1.363 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02166/0.5003, allocations: 10.36 MB / 1.373 GB, free: 2.156 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004427/0.5047, allocations: 190.6 kB / 1.373 GB, free: 1.969 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0115/0.5162, allocations: 3.982 MB / 1.377 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007468/0.5237, allocations: 2.142 MB / 1.379 GB, free: 11.82 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006788/0.5305, allocations: 2.033 MB / 1.381 GB, free: 9.793 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01298/0.5435, allocations: 7.972 MB / 1.389 GB, free: 1.793 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01258/0.556, allocations: 5.284 MB / 1.394 GB, free: 12.39 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007731/0.5638, allocations: 3.463 MB / 1.398 GB, free: 8.914 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008133/0.5719, allocations: 3.937 MB / 1.402 GB, free: 4.965 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002865/0.5748, allocations: 0.6797 MB / 1.402 GB, free: 4.285 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005305/0.5801, allocations: 1.471 MB / 1.404 GB, free: 2.812 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005396/0.5855, allocations: 2.681 MB / 1.406 GB, free: 128 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.009205/0.5947, allocations: 3.101 MB / 1.409 GB, free: 13.01 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01819/0.6129, allocations: 10.42 MB / 1.419 GB, free: 2.562 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.6129, allocations: 3.938 kB / 1.419 GB, free: 2.559 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.033e-06/0.6129, allocations: 4 kB / 1.419 GB, free: 2.555 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004336/0.6133, allocations: 0 / 1.419 GB, free: 2.555 MB / 1.107 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.02007/0.6334, allocations: 5.459 MB / 1.425 GB, free: 13.04 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.6334, allocations: 8.031 kB / 1.425 GB, free: 13.03 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006707/0.6401, allocations: 0.9928 MB / 1.426 GB, free: 12.03 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009894/0.65, allocations: 3.132 MB / 1.429 GB, free: 8.832 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005164/0.6505, allocations: 357.9 kB / 1.429 GB, free: 8.48 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002315/0.6529, allocations: 464.3 kB / 1.43 GB, free: 8.027 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02299/0.6758, allocations: 7.906 MB / 1.437 GB, free: 15.76 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002749/0.6761, allocations: 27.77 kB / 1.437 GB, free: 15.73 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001924/0.678, allocations: 208 kB / 1.438 GB, free: 15.53 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006953/0.6787, allocations: 373.1 kB / 1.438 GB, free: 15.16 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01529/0.694, allocations: 5.933 MB / 1.444 GB, free: 9.211 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05407/0.7481, allocations: 35.69 MB / 1.479 GB, free: 2.281 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003987/0.7521, allocations: 2.006 MB / 1.481 GB, free: 264 kB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002286/0.7544, allocations: 1.333 MB / 1.482 GB, free: 14.93 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.7545, allocations: 17.22 kB / 1.482 GB, free: 14.91 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.446e-05/0.7546, allocations: 55.81 kB / 1.482 GB, free: 14.85 MB / 1.186 GB Notification: Performance of pre-optimization done (n=157): time 4.609e-06/0.7546, allocations: 8 kB / 1.482 GB, free: 14.84 MB / 1.186 GB Notification: Performance of matching and sorting (n=160): time 0.01798/0.7726, allocations: 6.651 MB / 1.488 GB, free: 8.145 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/0.7727, allocations: 76.66 kB / 1.488 GB, free: 8.059 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003607/0.7763, allocations: 1.864 MB / 1.49 GB, free: 6.168 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003912/0.7766, allocations: 57.7 kB / 1.49 GB, free: 6.105 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002137/0.7788, allocations: 2.188 MB / 1.492 GB, free: 3.898 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008827/0.7797, allocations: 0.5849 MB / 1.493 GB, free: 3.309 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007911/0.7805, allocations: 404 kB / 1.493 GB, free: 2.906 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.7806, allocations: 301.1 kB / 1.494 GB, free: 2.609 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.7825, allocations: 1.062 MB / 1.495 GB, free: 1.543 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/0.7849, allocations: 1.764 MB / 1.496 GB, free: 15.46 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004221/0.7891, allocations: 3.049 MB / 1.499 GB, free: 12.1 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/0.7891, allocations: 8 kB / 1.499 GB, free: 12.09 MB / 1.201 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007193/0.7963, allocations: 3.907 MB / 1.503 GB, free: 8.137 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.7963, allocations: 12 kB / 1.503 GB, free: 8.125 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.174e-05/0.7964, allocations: 24 kB / 1.503 GB, free: 8.102 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002531/0.7989, allocations: 0.9312 MB / 1.504 GB, free: 7.133 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.8005, allocations: 431.2 kB / 1.505 GB, free: 6.711 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02324/0.8237, allocations: 21.54 MB / 1.526 GB, free: 15.79 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/0.8262, allocations: 123.9 kB / 1.526 GB, free: 15.67 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/0.8264, allocations: 96 kB / 1.526 GB, free: 15.58 MB / 1.232 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.003834/0.8302, allocations: 1.646 MB / 1.527 GB, free: 13.92 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007626/0.831, allocations: 270.4 kB / 1.528 GB, free: 13.66 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005985/0.837, allocations: 3.24 MB / 1.531 GB, free: 10.36 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.837, allocations: 16 kB / 1.531 GB, free: 10.35 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/0.837, allocations: 12 kB / 1.531 GB, free: 10.34 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.837, allocations: 7.969 kB / 1.531 GB, free: 10.33 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.8505, allocations: 7.505 MB / 1.538 GB, free: 2.676 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.8505, allocations: 4 kB / 1.538 GB, free: 2.672 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009351/0.8514, allocations: 216.2 kB / 1.538 GB, free: 2.461 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002417/0.8538, allocations: 0.8963 MB / 1.539 GB, free: 1.527 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.8539, allocations: 32 kB / 1.539 GB, free: 1.496 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02261/0.8765, allocations: 21.5 MB / 1.56 GB, free: 10.61 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.8766, allocations: 11.92 kB / 1.56 GB, free: 10.6 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006294/0.8829, allocations: 3.361 MB / 1.564 GB, free: 7.125 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/0.8845, allocations: 470.3 kB / 1.564 GB, free: 6.664 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003295/0.8849, allocations: 51.81 kB / 1.564 GB, free: 6.613 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.8859, allocations: 91.89 kB / 1.564 GB, free: 6.523 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004354/0.8863, allocations: 156.8 kB / 1.564 GB, free: 6.367 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.8865, allocations: 48 kB / 1.564 GB, free: 6.32 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001928/0.8884, allocations: 1.221 MB / 1.566 GB, free: 5.086 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8884, allocations: 3.938 kB / 1.566 GB, free: 5.082 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00331/0.8917, allocations: 0.9062 MB / 1.567 GB, free: 4.176 MB / 1.264 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.0003325/0.892, allocations: 147.1 kB / 1.567 GB, free: 4.023 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007124/0.8992, allocations: 4.299 MB / 1.571 GB, free: 15.57 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.8992, allocations: 0 / 1.571 GB, free: 15.57 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004581/0.9037, allocations: 2.902 MB / 1.574 GB, free: 12.51 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003997/0.9077, allocations: 0.8416 MB / 1.575 GB, free: 11.69 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/0.9245, allocations: 8.461 MB / 1.583 GB, free: 3.125 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004503/0.929, allocations: 3.279 MB / 1.586 GB, free: 15.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008108/0.9298, allocations: 163.4 kB / 1.586 GB, free: 15.64 MB / 1.295 GB Notification: Performance of SimCode: time 1.452e-06/0.9298, allocations: 0 / 1.586 GB, free: 15.64 MB / 1.295 GB Notification: Performance of Templates: time 1.198/2.128, allocations: 340.1 MB / 1.918 GB, free: 3.477 MB / 1.342 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 26.43045968801016]