Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.001849/0.001849, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002367/0.002367, allocations: 213.5 kB / 22.25 MB, free: 5.258 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.797 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.221/3.221, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 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_L_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [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.002098/0.002098, allocations: 69.36 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3807, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04393/0.4246, allocations: 33.77 MB / 1.359 GB, free: 8 kB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02131/0.4459, allocations: 11.54 MB / 1.37 GB, free: 4.434 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003938/0.4499, allocations: 206.5 kB / 1.37 GB, free: 4.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01225/0.4621, allocations: 4.276 MB / 1.374 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007785/0.4699, allocations: 2.088 MB / 1.376 GB, free: 13.85 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008666/0.4786, allocations: 2.416 MB / 1.379 GB, free: 11.43 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01315/0.4917, allocations: 8.461 MB / 1.387 GB, free: 2.945 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01341/0.5051, allocations: 6.146 MB / 1.393 GB, free: 12.67 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007406/0.5125, allocations: 3.88 MB / 1.397 GB, free: 8.777 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008291/0.5208, allocations: 4.147 MB / 1.401 GB, free: 4.617 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002573/0.5234, allocations: 0.7812 MB / 1.401 GB, free: 3.836 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005528/0.5289, allocations: 1.896 MB / 1.403 GB, free: 1.938 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005178/0.5341, allocations: 3.133 MB / 1.406 GB, free: 14.8 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00713/0.5412, allocations: 2.759 MB / 1.409 GB, free: 12.03 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01925/0.5605, allocations: 12.06 MB / 1.421 GB, free: 15.93 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/0.5605, allocations: 0 / 1.421 GB, free: 15.93 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.745e-06/0.5605, allocations: 0 / 1.421 GB, free: 15.93 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004184/0.5609, allocations: 0 / 1.421 GB, free: 15.93 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02076/0.5817, allocations: 5.869 MB / 1.427 GB, free: 9.996 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.5817, allocations: 12.03 kB / 1.427 GB, free: 9.984 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007557/0.5893, allocations: 1.082 MB / 1.428 GB, free: 8.898 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.5993, allocations: 3.419 MB / 1.431 GB, free: 5.41 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004413/0.5998, allocations: 423.4 kB / 1.431 GB, free: 4.996 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00201/0.6018, allocations: 0.5315 MB / 1.432 GB, free: 4.465 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02252/0.6243, allocations: 9.38 MB / 1.441 GB, free: 10.69 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001867/0.6245, allocations: 39.7 kB / 1.441 GB, free: 10.65 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006773/0.6251, allocations: 235.9 kB / 1.441 GB, free: 10.42 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004589/0.6256, allocations: 350.8 kB / 1.442 GB, free: 10.08 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01483/0.6404, allocations: 6.814 MB / 1.448 GB, free: 3.254 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05977/0.7002, allocations: 24.27 MB / 1.472 GB, free: 10.38 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006003/0.7062, allocations: 2.292 MB / 1.474 GB, free: 8.09 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004196/0.7104, allocations: 1.775 MB / 1.476 GB, free: 6.32 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/0.7106, allocations: 18 kB / 1.476 GB, free: 6.301 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.58e-05/0.7106, allocations: 52.56 kB / 1.476 GB, free: 6.242 MB / 1.17 GB Notification: Performance of pre-optimization done (n=179): time 6.161e-06/0.7107, allocations: 0 / 1.476 GB, free: 6.242 MB / 1.17 GB Notification: Performance of matching and sorting (n=182): time 0.03014/0.7408, allocations: 9.672 MB / 1.485 GB, free: 12.55 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.461e-05/0.7409, allocations: 73.41 kB / 1.486 GB, free: 12.47 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.7432, allocations: 1.449 MB / 1.487 GB, free: 11.02 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.7434, allocations: 53.7 kB / 1.487 GB, free: 10.96 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001945/0.7454, allocations: 2.319 MB / 1.489 GB, free: 8.621 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008009/0.7462, allocations: 0.6662 MB / 1.49 GB, free: 7.949 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006628/0.7468, allocations: 412.1 kB / 1.49 GB, free: 7.539 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.747, allocations: 305.1 kB / 1.491 GB, free: 7.238 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/0.7488, allocations: 1.176 MB / 1.492 GB, free: 6.059 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002505/0.7513, allocations: 1.881 MB / 1.494 GB, free: 3.859 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004746/0.7561, allocations: 3.375 MB / 1.497 GB, free: 176 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.7561, allocations: 4 kB / 1.497 GB, free: 172 kB / 1.186 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00845/0.7645, allocations: 4.523 MB / 1.501 GB, free: 11.62 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/0.7646, allocations: 12 kB / 1.501 GB, free: 11.61 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/0.7646, allocations: 24 kB / 1.501 GB, free: 11.58 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004029/0.7686, allocations: 1.589 MB / 1.503 GB, free: 9.984 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.77, allocations: 347.4 kB / 1.503 GB, free: 9.645 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02596/0.7959, allocations: 17.83 MB / 1.521 GB, free: 7.406 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.7978, allocations: 119.9 kB / 1.521 GB, free: 7.289 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002113/0.798, allocations: 92 kB / 1.521 GB, free: 7.199 MB / 1.217 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003603/0.8017, allocations: 1.903 MB / 1.523 GB, free: 5.285 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006012/0.8023, allocations: 226.6 kB / 1.523 GB, free: 5.062 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007744/0.81, allocations: 4.036 MB / 1.527 GB, free: 0.9961 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/0.81, allocations: 20 kB / 1.527 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.954e-05/0.81, allocations: 16 kB / 1.527 GB, free: 0.9609 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.473e-05/0.8101, allocations: 12.06 kB / 1.527 GB, free: 0.9492 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/0.8262, allocations: 7.84 MB / 1.535 GB, free: 8.984 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.8262, allocations: 4 kB / 1.535 GB, free: 8.98 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008748/0.8271, allocations: 183.7 kB / 1.535 GB, free: 8.801 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003671/0.8308, allocations: 1.355 MB / 1.536 GB, free: 7.438 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/0.831, allocations: 32 kB / 1.536 GB, free: 7.406 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02452/0.8555, allocations: 16.61 MB / 1.552 GB, free: 6.387 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.8555, allocations: 4 kB / 1.552 GB, free: 6.383 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007857/0.8633, allocations: 4.02 MB / 1.556 GB, free: 2.277 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/0.865, allocations: 462.5 kB / 1.557 GB, free: 1.824 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003498/0.8654, allocations: 32 kB / 1.557 GB, free: 1.793 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009619/0.8664, allocations: 87.89 kB / 1.557 GB, free: 1.707 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005169/0.8669, allocations: 177.5 kB / 1.557 GB, free: 1.531 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.867, allocations: 48 kB / 1.557 GB, free: 1.484 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001414/0.8684, allocations: 0.9232 MB / 1.558 GB, free: 0.5703 MB / 1.248 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8684, allocations: 0 / 1.558 GB, free: 0.5703 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003556/0.872, allocations: 0.9844 MB / 1.559 GB, free: 15.58 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000318/0.8723, allocations: 146.9 kB / 1.559 GB, free: 15.43 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007564/0.8798, allocations: 4.167 MB / 1.563 GB, free: 11.21 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.8798, allocations: 4.062 kB / 1.563 GB, free: 11.21 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00499/0.8848, allocations: 2.571 MB / 1.566 GB, free: 8.59 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003793/0.8886, allocations: 0.7645 MB / 1.566 GB, free: 7.855 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/0.9068, allocations: 8.869 MB / 1.575 GB, free: 14.9 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005271/0.912, allocations: 3.039 MB / 1.578 GB, free: 11.82 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001586/0.9136, allocations: 451 kB / 1.578 GB, free: 11.37 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.914, allocations: 107.4 kB / 1.579 GB, free: 11.27 MB / 1.279 GB Notification: Performance of SimCode: time 1.112e-06/0.914, allocations: 3.938 kB / 1.579 GB, free: 11.26 MB / 1.279 GB Notification: Performance of Templates: time 0.7492/1.663, allocations: 50.24 MB / 1.628 GB, free: 246.4 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.19280805811286]