Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001572/0.001572, allocations: 102.1 kB / 19.7 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.002223/0.002223, allocations: 218.1 kB / 23.01 MB, free: 4.609 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.752/2.752, allocations: 476.8 MB / 0.7714 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.002074/0.002074, allocations: 63.34 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4087, allocations: 170 MB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04193/0.4506, allocations: 34.29 MB / 1.318 GB, free: 8.824 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02132/0.472, allocations: 10.69 MB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004355/0.4763, allocations: 194.5 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01141/0.4877, allocations: 3.892 MB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008501/0.4962, allocations: 1.952 MB / 1.334 GB, free: 8.059 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007129/0.5034, allocations: 2.198 MB / 1.337 GB, free: 5.863 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01157/0.5149, allocations: 7.33 MB / 1.344 GB, free: 14.51 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008641/0.5236, allocations: 5.143 MB / 1.349 GB, free: 9.246 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006338/0.5299, allocations: 3.276 MB / 1.352 GB, free: 5.961 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006985/0.5369, allocations: 3.672 MB / 1.356 GB, free: 2.277 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001719/0.5386, allocations: 0.6445 MB / 1.356 GB, free: 1.633 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004493/0.5431, allocations: 1.814 MB / 1.358 GB, free: 15.81 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003505/0.5466, allocations: 2.615 MB / 1.361 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.005247/0.5519, allocations: 2.898 MB / 1.363 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01417/0.566, allocations: 10.13 MB / 1.373 GB, free: 128 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.566, allocations: 7.938 kB / 1.373 GB, free: 120 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.814e-06/0.566, allocations: 0 / 1.373 GB, free: 120 kB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003369/0.5664, allocations: 0 / 1.373 GB, free: 120 kB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01411/0.5805, allocations: 5.056 MB / 1.378 GB, free: 11 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.5805, allocations: 8.031 kB / 1.378 GB, free: 10.99 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005564/0.5861, allocations: 0.9813 MB / 1.379 GB, free: 10.01 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00797/0.5941, allocations: 2.999 MB / 1.382 GB, free: 6.941 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003413/0.5944, allocations: 345.7 kB / 1.382 GB, free: 6.602 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001713/0.5961, allocations: 468.3 kB / 1.383 GB, free: 6.145 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01669/0.6128, allocations: 7.667 MB / 1.39 GB, free: 14.13 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001674/0.613, allocations: 27.83 kB / 1.39 GB, free: 14.1 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006049/0.6136, allocations: 204 kB / 1.391 GB, free: 13.9 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000366/0.614, allocations: 312.9 kB / 1.391 GB, free: 13.59 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/0.6264, allocations: 5.71 MB / 1.396 GB, free: 7.867 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04362/0.67, allocations: 34.56 MB / 1.43 GB, free: 2.09 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.6727, allocations: 1.562 MB / 1.432 GB, free: 0.5234 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/0.6743, allocations: 1.116 MB / 1.433 GB, free: 15.4 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.595e-05/0.6744, allocations: 17.31 kB / 1.433 GB, free: 15.38 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.245e-05/0.6745, allocations: 63.73 kB / 1.433 GB, free: 15.31 MB / 1.139 GB Notification: Performance of pre-optimization done (n=133): time 3.707e-06/0.6745, allocations: 0 / 1.433 GB, free: 15.31 MB / 1.139 GB Notification: Performance of matching and sorting (n=136): time 0.01383/0.6883, allocations: 6.203 MB / 1.439 GB, free: 9.07 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.6884, allocations: 68.72 kB / 1.439 GB, free: 8.992 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/0.6906, allocations: 1.484 MB / 1.44 GB, free: 7.461 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.6907, allocations: 45.7 kB / 1.44 GB, free: 7.41 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001633/0.6924, allocations: 2.069 MB / 1.443 GB, free: 5.32 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005328/0.6929, allocations: 0.4996 MB / 1.443 GB, free: 4.816 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005482/0.6935, allocations: 355.3 kB / 1.443 GB, free: 4.461 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6936, allocations: 309.1 kB / 1.444 GB, free: 4.156 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.6949, allocations: 0.9135 MB / 1.445 GB, free: 3.242 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/0.6968, allocations: 1.593 MB / 1.446 GB, free: 1.34 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003538/0.7003, allocations: 2.729 MB / 1.449 GB, free: 14.3 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/0.7004, allocations: 12 kB / 1.449 GB, free: 14.29 MB / 1.154 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006421/0.7068, allocations: 3.512 MB / 1.452 GB, free: 10.73 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.7068, allocations: 12 kB / 1.452 GB, free: 10.71 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/0.7068, allocations: 24 kB / 1.452 GB, free: 10.69 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002565/0.7094, allocations: 0.9004 MB / 1.453 GB, free: 9.754 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.7106, allocations: 351.4 kB / 1.453 GB, free: 9.41 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02251/0.7332, allocations: 21.89 MB / 1.475 GB, free: 2.148 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.7349, allocations: 99.95 kB / 1.475 GB, free: 2.051 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.735, allocations: 88 kB / 1.475 GB, free: 1.965 MB / 1.17 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.003033/0.7381, allocations: 1.606 MB / 1.477 GB, free: 356 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004767/0.7385, allocations: 218.6 kB / 1.477 GB, free: 136 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00553/0.7441, allocations: 2.959 MB / 1.48 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.7441, allocations: 16 kB / 1.48 GB, free: 13.11 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/0.7441, allocations: 15.94 kB / 1.48 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.7441, allocations: 7.969 kB / 1.48 GB, free: 13.08 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.7574, allocations: 7.293 MB / 1.487 GB, free: 5.57 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.7574, allocations: 4 kB / 1.487 GB, free: 5.566 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007766/0.7582, allocations: 175.7 kB / 1.487 GB, free: 5.395 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00244/0.7606, allocations: 0.8222 MB / 1.488 GB, free: 4.535 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.7607, allocations: 32 kB / 1.488 GB, free: 4.504 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.021/0.7817, allocations: 20.74 MB / 1.508 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.7817, allocations: 7.938 kB / 1.508 GB, free: 14.38 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005613/0.7873, allocations: 3.007 MB / 1.511 GB, free: 11.26 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/0.7886, allocations: 394.5 kB / 1.511 GB, free: 10.88 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/0.7889, allocations: 35.94 kB / 1.511 GB, free: 10.84 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007685/0.7896, allocations: 71.91 kB / 1.511 GB, free: 10.77 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00038/0.79, allocations: 132.6 kB / 1.512 GB, free: 10.64 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.588e-05/0.7901, allocations: 36 kB / 1.512 GB, free: 10.6 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001459/0.7916, allocations: 0.9756 MB / 1.513 GB, free: 9.602 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.7916, allocations: 0 / 1.513 GB, free: 9.602 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003126/0.7947, allocations: 0.7891 MB / 1.513 GB, free: 8.812 MB / 1.217 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003171/0.795, allocations: 137.2 kB / 1.514 GB, free: 8.672 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006253/0.8013, allocations: 3.933 MB / 1.517 GB, free: 4.586 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.8013, allocations: 0 / 1.517 GB, free: 4.586 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004035/0.8053, allocations: 2.662 MB / 1.52 GB, free: 1.766 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/0.8087, allocations: 0.7364 MB / 1.521 GB, free: 1.055 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/0.8241, allocations: 7.98 MB / 1.528 GB, free: 8.969 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00424/0.8284, allocations: 3.179 MB / 1.532 GB, free: 5.762 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005832/0.8289, allocations: 127.4 kB / 1.532 GB, free: 5.637 MB / 1.233 GB Notification: Performance of SimCode: time 1.563e-06/0.8289, allocations: 0 / 1.532 GB, free: 5.637 MB / 1.233 GB Notification: Performance of Templates: time 1.01/1.839, allocations: 321.9 MB / 1.846 GB, free: 97.3 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 23.898959223006386]