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.001359/0.001359, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001707/0.001707, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.801 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.282/3.282, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 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.002114/0.002114, allocations: 66.45 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3777, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0454/0.4231, allocations: 33.67 MB / 1.358 GB, free: 88 kB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01944/0.4426, allocations: 10.02 MB / 1.368 GB, free: 6.035 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003254/0.4458, allocations: 194.6 kB / 1.368 GB, free: 5.844 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01089/0.4567, allocations: 3.823 MB / 1.372 GB, free: 2.012 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006161/0.4629, allocations: 2.146 MB / 1.374 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005477/0.4684, allocations: 1.968 MB / 1.376 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01078/0.4791, allocations: 7.968 MB / 1.384 GB, free: 5.895 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01091/0.4901, allocations: 5.225 MB / 1.389 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006538/0.4966, allocations: 3.49 MB / 1.392 GB, free: 13.05 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006879/0.5035, allocations: 3.703 MB / 1.396 GB, free: 9.332 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001989/0.5055, allocations: 0.6797 MB / 1.397 GB, free: 8.652 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003873/0.5093, allocations: 1.358 MB / 1.398 GB, free: 7.293 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003968/0.5133, allocations: 2.681 MB / 1.401 GB, free: 4.605 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004569/0.5179, allocations: 2.518 MB / 1.403 GB, free: 2.078 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.5303, allocations: 10.47 MB / 1.413 GB, free: 7.578 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.5303, allocations: 0 / 1.413 GB, free: 7.578 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5303, allocations: 0 / 1.413 GB, free: 7.578 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002671/0.5305, allocations: 0 / 1.413 GB, free: 7.578 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.01274/0.5433, allocations: 5.455 MB / 1.419 GB, free: 2.062 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.5433, allocations: 8.031 kB / 1.419 GB, free: 2.055 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00487/0.5482, allocations: 0.9928 MB / 1.42 GB, free: 1.059 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007944/0.5562, allocations: 3.132 MB / 1.423 GB, free: 13.86 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003631/0.5565, allocations: 361.9 kB / 1.423 GB, free: 13.5 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/0.5578, allocations: 464.3 kB / 1.424 GB, free: 13.05 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01703/0.5748, allocations: 8.671 MB / 1.432 GB, free: 3.832 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/0.5749, allocations: 27.75 kB / 1.432 GB, free: 3.805 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005386/0.5755, allocations: 208 kB / 1.432 GB, free: 3.602 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005645/0.576, allocations: 369.1 kB / 1.433 GB, free: 3.238 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01198/0.588, allocations: 5.929 MB / 1.438 GB, free: 13.29 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03654/0.6246, allocations: 22.94 MB / 1.461 GB, free: 5.691 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003956/0.6285, allocations: 1.995 MB / 1.463 GB, free: 3.68 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002433/0.631, allocations: 1.334 MB / 1.464 GB, free: 2.352 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.6311, allocations: 13.31 kB / 1.464 GB, free: 2.336 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.356e-05/0.6312, allocations: 55.81 kB / 1.464 GB, free: 2.273 MB / 1.154 GB Notification: Performance of pre-optimization done (n=157): time 6.001e-06/0.6312, allocations: 0 / 1.464 GB, free: 2.273 MB / 1.154 GB Notification: Performance of matching and sorting (n=160): time 0.01698/0.6481, allocations: 6.648 MB / 1.471 GB, free: 11.58 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.6482, allocations: 72.72 kB / 1.471 GB, free: 11.5 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/0.6516, allocations: 1.713 MB / 1.472 GB, free: 9.75 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002966/0.6519, allocations: 53.7 kB / 1.472 GB, free: 9.691 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002138/0.654, allocations: 2.191 MB / 1.474 GB, free: 7.48 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.6551, allocations: 0.5887 MB / 1.475 GB, free: 6.887 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009198/0.656, allocations: 400 kB / 1.475 GB, free: 6.488 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.6562, allocations: 305.1 kB / 1.476 GB, free: 6.188 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/0.6582, allocations: 1.062 MB / 1.477 GB, free: 5.121 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002719/0.6609, allocations: 1.768 MB / 1.478 GB, free: 3.031 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005053/0.6659, allocations: 3.049 MB / 1.481 GB, free: 15.67 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.457e-05/0.666, allocations: 7.938 kB / 1.481 GB, free: 15.66 MB / 1.186 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.008048/0.674, allocations: 3.894 MB / 1.485 GB, free: 11.72 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.674, allocations: 13 kB / 1.485 GB, free: 11.71 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.455e-05/0.6741, allocations: 24 kB / 1.485 GB, free: 11.69 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002859/0.6769, allocations: 0.9311 MB / 1.486 GB, free: 10.72 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/0.6788, allocations: 427.3 kB / 1.487 GB, free: 10.3 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02641/0.7052, allocations: 21.12 MB / 1.507 GB, free: 3.953 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/0.7074, allocations: 119.9 kB / 1.507 GB, free: 3.836 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004076/0.7078, allocations: 100.1 kB / 1.507 GB, free: 3.738 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.003624/0.7114, allocations: 1.644 MB / 1.509 GB, free: 2.086 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006934/0.7121, allocations: 250.5 kB / 1.509 GB, free: 1.84 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006639/0.7188, allocations: 3.237 MB / 1.512 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.7188, allocations: 16 kB / 1.512 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.221e-05/0.7188, allocations: 8 kB / 1.512 GB, free: 14.53 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/0.7188, allocations: 7.969 kB / 1.512 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/0.7333, allocations: 6.449 MB / 1.519 GB, free: 7.938 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.7333, allocations: 4 kB / 1.519 GB, free: 7.934 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009856/0.7343, allocations: 211.7 kB / 1.519 GB, free: 7.727 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002621/0.7369, allocations: 0.8964 MB / 1.52 GB, free: 6.793 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/0.7371, allocations: 28 kB / 1.52 GB, free: 6.766 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02386/0.761, allocations: 21.08 MB / 1.54 GB, free: 460 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.761, allocations: 12.08 kB / 1.541 GB, free: 448 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006359/0.7673, allocations: 3.348 MB / 1.544 GB, free: 12.98 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/0.7689, allocations: 450.3 kB / 1.544 GB, free: 12.54 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004083/0.7693, allocations: 32 kB / 1.544 GB, free: 12.5 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.7704, allocations: 95.88 kB / 1.544 GB, free: 12.41 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004391/0.7708, allocations: 144.9 kB / 1.544 GB, free: 12.27 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.7709, allocations: 51.98 kB / 1.545 GB, free: 12.21 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001738/0.7727, allocations: 1.083 MB / 1.546 GB, free: 11.11 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.7727, allocations: 0 / 1.546 GB, free: 11.11 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003141/0.7758, allocations: 0.9062 MB / 1.546 GB, free: 10.21 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.0003007/0.7761, allocations: 160.6 kB / 1.547 GB, free: 10.04 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.007425/0.7835, allocations: 4.296 MB / 1.551 GB, free: 5.594 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/0.7836, allocations: 4 kB / 1.551 GB, free: 5.59 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004914/0.7885, allocations: 2.902 MB / 1.554 GB, free: 2.531 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003689/0.7922, allocations: 0.7561 MB / 1.554 GB, free: 1.789 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/0.8083, allocations: 7.803 MB / 1.562 GB, free: 9.891 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004272/0.8125, allocations: 2.665 MB / 1.565 GB, free: 7.191 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001911/0.8144, allocations: 0.5122 MB / 1.565 GB, free: 6.676 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/0.8148, allocations: 135.4 kB / 1.565 GB, free: 6.543 MB / 1.264 GB Notification: Performance of SimCode: time 1.162e-06/0.8148, allocations: 3.938 kB / 1.565 GB, free: 6.539 MB / 1.264 GB Notification: Performance of Templates: time 0.7482/1.563, allocations: 47.8 MB / 1.612 GB, free: 254 MB / 1.295 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/jenkins/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: 11.469918446615338]