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.001572/0.001572, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001791/0.001791, allocations: 213.4 kB / 23.04 MB, free: 4.844 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.738 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.233/3.233, allocations: 0.49 GB / 0.7959 GB, free: 35.35 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.002043/0.002043, allocations: 65.52 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4724/0.4744, allocations: 176.1 MB / 1.327 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04736/0.5218, allocations: 33.67 MB / 1.36 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02097/0.5427, allocations: 10.03 MB / 1.37 GB, free: 5.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00501/0.5477, allocations: 194.5 kB / 1.37 GB, free: 4.879 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01173/0.5595, allocations: 3.818 MB / 1.374 GB, free: 1.055 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008362/0.5678, allocations: 2.15 MB / 1.376 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00669/0.5745, allocations: 1.967 MB / 1.378 GB, free: 12.93 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01597/0.5905, allocations: 7.956 MB / 1.386 GB, free: 4.945 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01135/0.6018, allocations: 5.229 MB / 1.391 GB, free: 15.59 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007468/0.6093, allocations: 3.498 MB / 1.394 GB, free: 12.09 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00814/0.6175, allocations: 3.699 MB / 1.398 GB, free: 8.375 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002942/0.6204, allocations: 0.6797 MB / 1.398 GB, free: 7.695 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005297/0.6257, allocations: 1.354 MB / 1.4 GB, free: 6.34 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005508/0.6312, allocations: 2.681 MB / 1.402 GB, free: 3.652 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00728/0.6385, allocations: 2.521 MB / 1.405 GB, free: 1.121 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01751/0.656, allocations: 10.47 MB / 1.415 GB, free: 6.617 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/0.656, allocations: 0 / 1.415 GB, free: 6.617 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.035e-06/0.656, allocations: 0 / 1.415 GB, free: 6.617 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003974/0.6564, allocations: 0 / 1.415 GB, free: 6.617 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.01847/0.6749, allocations: 5.453 MB / 1.42 GB, free: 1.105 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.6749, allocations: 8.031 kB / 1.42 GB, free: 1.098 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005974/0.6809, allocations: 1.005 MB / 1.421 GB, free: 92 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008475/0.6894, allocations: 3.132 MB / 1.424 GB, free: 12.89 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003821/0.6898, allocations: 357.9 kB / 1.425 GB, free: 12.54 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00146/0.6912, allocations: 472.3 kB / 1.425 GB, free: 12.08 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0194/0.7106, allocations: 8.667 MB / 1.434 GB, free: 2.863 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/0.7107, allocations: 23.77 kB / 1.434 GB, free: 2.84 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005843/0.7113, allocations: 208 kB / 1.434 GB, free: 2.637 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006167/0.7119, allocations: 373 kB / 1.434 GB, free: 2.27 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/0.7262, allocations: 5.929 MB / 1.44 GB, free: 12.32 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04139/0.7676, allocations: 22.95 MB / 1.462 GB, free: 4.711 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003728/0.7714, allocations: 1.991 MB / 1.464 GB, free: 2.703 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/0.7735, allocations: 1.338 MB / 1.466 GB, free: 1.367 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.241e-05/0.7736, allocations: 21.31 kB / 1.466 GB, free: 1.344 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.661e-05/0.7737, allocations: 55.86 kB / 1.466 GB, free: 1.281 MB / 1.154 GB Notification: Performance of pre-optimization done (n=157): time 4.95e-06/0.7737, allocations: 0 / 1.466 GB, free: 1.281 MB / 1.154 GB Notification: Performance of matching and sorting (n=160): time 0.01475/0.7884, allocations: 6.644 MB / 1.472 GB, free: 10.59 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.7885, allocations: 68.72 kB / 1.472 GB, free: 10.52 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002733/0.7912, allocations: 1.709 MB / 1.474 GB, free: 8.77 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001902/0.7914, allocations: 53.7 kB / 1.474 GB, free: 8.711 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001819/0.7933, allocations: 2.195 MB / 1.476 GB, free: 6.496 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006724/0.7939, allocations: 0.5926 MB / 1.477 GB, free: 5.898 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006723/0.7946, allocations: 404 kB / 1.477 GB, free: 5.496 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.7948, allocations: 301.1 kB / 1.477 GB, free: 5.199 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/0.7965, allocations: 1.066 MB / 1.478 GB, free: 4.129 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/0.7988, allocations: 1.76 MB / 1.48 GB, free: 2.047 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004403/0.8032, allocations: 3.045 MB / 1.483 GB, free: 14.69 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/0.8033, allocations: 8 kB / 1.483 GB, free: 14.68 MB / 1.186 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007056/0.8103, allocations: 3.891 MB / 1.487 GB, free: 10.74 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.8104, allocations: 16 kB / 1.487 GB, free: 10.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/0.8104, allocations: 23.98 kB / 1.487 GB, free: 10.7 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002543/0.8129, allocations: 0.9276 MB / 1.488 GB, free: 9.742 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.8146, allocations: 431.2 kB / 1.488 GB, free: 9.32 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02317/0.8377, allocations: 21.12 MB / 1.509 GB, free: 2.973 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/0.84, allocations: 119.9 kB / 1.509 GB, free: 2.855 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002814/0.8402, allocations: 96 kB / 1.509 GB, free: 2.762 MB / 1.201 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.00315/0.8434, allocations: 1.654 MB / 1.511 GB, free: 1.102 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006027/0.844, allocations: 242.5 kB / 1.511 GB, free: 0.8633 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00599/0.85, allocations: 3.233 MB / 1.514 GB, free: 13.57 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.85, allocations: 16 kB / 1.514 GB, free: 13.56 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/0.85, allocations: 8 kB / 1.514 GB, free: 13.55 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.85, allocations: 7.969 kB / 1.514 GB, free: 13.54 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/0.8629, allocations: 6.46 MB / 1.52 GB, free: 6.953 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.8629, allocations: 4 kB / 1.52 GB, free: 6.949 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009752/0.8639, allocations: 215.6 kB / 1.521 GB, free: 6.738 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002438/0.8664, allocations: 0.8926 MB / 1.522 GB, free: 5.809 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.8665, allocations: 28 kB / 1.522 GB, free: 5.781 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02287/0.8893, allocations: 21.08 MB / 1.542 GB, free: 15.47 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.8893, allocations: 4 kB / 1.542 GB, free: 15.46 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006002/0.8953, allocations: 3.344 MB / 1.545 GB, free: 12.01 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/0.8967, allocations: 458.2 kB / 1.546 GB, free: 11.56 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/0.897, allocations: 32 kB / 1.546 GB, free: 11.53 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.8981, allocations: 95.88 kB / 1.546 GB, free: 11.43 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004389/0.8985, allocations: 144.9 kB / 1.546 GB, free: 11.29 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.8987, allocations: 48 kB / 1.546 GB, free: 11.24 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001669/0.9003, allocations: 1.09 MB / 1.547 GB, free: 10.13 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9003, allocations: 0 / 1.547 GB, free: 10.13 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003197/0.9035, allocations: 0.8984 MB / 1.548 GB, free: 9.234 MB / 1.248 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.0003617/0.9039, allocations: 163.7 kB / 1.548 GB, free: 9.066 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.006879/0.9108, allocations: 4.283 MB / 1.552 GB, free: 4.629 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.9108, allocations: 4 kB / 1.552 GB, free: 4.625 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004531/0.9153, allocations: 2.91 MB / 1.555 GB, free: 1.559 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003633/0.9189, allocations: 0.7697 MB / 1.556 GB, free: 0.8008 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/0.9346, allocations: 8.446 MB / 1.564 GB, free: 8.254 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003944/0.9386, allocations: 2.727 MB / 1.567 GB, free: 5.492 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007304/0.9393, allocations: 151.4 kB / 1.567 GB, free: 5.344 MB / 1.264 GB Notification: Performance of SimCode: time 1.082e-06/0.9393, allocations: 0 / 1.567 GB, free: 5.344 MB / 1.264 GB Notification: Performance of Templates: time 1.123/2.063, allocations: 340.6 MB / 1.9 GB, free: 13.34 MB / 1.326 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.045300702098757]