Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001365/0.001365, 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.001511/0.001511, allocations: 220.6 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.466/3.466, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.002038/0.002038, allocations: 64.8 kB / 1.178 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4075, allocations: 180.2 MB / 1.354 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03157/0.4391, allocations: 24.45 MB / 1.378 GB, free: 15.42 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.4525, allocations: 6.71 MB / 1.385 GB, free: 8.688 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002484/0.455, allocations: 127.1 kB / 1.385 GB, free: 8.562 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004519/0.4595, allocations: 1.557 MB / 1.386 GB, free: 7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005388/0.4649, allocations: 1.941 MB / 1.388 GB, free: 5.051 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004229/0.4691, allocations: 1.513 MB / 1.39 GB, free: 3.539 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0102/0.4793, allocations: 6.905 MB / 1.396 GB, free: 12.62 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007119/0.4864, allocations: 3.769 MB / 1.4 GB, free: 8.754 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00611/0.4925, allocations: 2.917 MB / 1.403 GB, free: 5.828 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006986/0.4995, allocations: 3.735 MB / 1.406 GB, free: 2.082 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001453/0.501, allocations: 0.5273 MB / 1.407 GB, free: 1.555 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003231/0.5042, allocations: 1.198 MB / 1.408 GB, free: 364 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003165/0.5074, allocations: 2.525 MB / 1.411 GB, free: 13.82 MB / 1.108 GB Notification: Performance of NFVerifyModel.verify: time 0.00384/0.5112, allocations: 2.528 MB / 1.413 GB, free: 11.29 MB / 1.108 GB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.5218, allocations: 8.542 MB / 1.421 GB, free: 2.715 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.5218, allocations: 8 kB / 1.421 GB, free: 2.707 MB / 1.108 GB Notification: Performance of FrontEnd: time 1.983e-06/0.5218, allocations: 0 / 1.421 GB, free: 2.707 MB / 1.108 GB Notification: Performance of Transformations before backend: time 0.0002587/0.522, allocations: 0 / 1.421 GB, free: 2.707 MB / 1.108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01027/0.5323, allocations: 4.472 MB / 1.426 GB, free: 14.18 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.5324, allocations: 12.02 kB / 1.426 GB, free: 14.17 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008479/0.5408, allocations: 1.707 MB / 1.427 GB, free: 12.46 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006618/0.5475, allocations: 2.664 MB / 1.43 GB, free: 9.746 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002858/0.5477, allocations: 279.7 kB / 1.43 GB, free: 9.473 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/0.5489, allocations: 360.3 kB / 1.431 GB, free: 9.121 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/0.5638, allocations: 7.487 MB / 1.438 GB, free: 1.363 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.85e-05/0.5639, allocations: 19.81 kB / 1.438 GB, free: 1.344 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004963/0.5644, allocations: 163.9 kB / 1.438 GB, free: 1.184 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006271/0.565, allocations: 487.3 kB / 1.439 GB, free: 0.707 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0111/0.5761, allocations: 5.697 MB / 1.444 GB, free: 11 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05136/0.6275, allocations: 31.27 MB / 1.475 GB, free: 8.957 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003637/0.6311, allocations: 2.021 MB / 1.477 GB, free: 6.926 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00363/0.6348, allocations: 2.108 MB / 1.479 GB, free: 4.816 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/0.635, allocations: 13.31 kB / 1.479 GB, free: 4.805 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/0.6351, allocations: 47.88 kB / 1.479 GB, free: 4.746 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 3.888e-06/0.6351, allocations: 0 / 1.479 GB, free: 4.746 MB / 1.17 GB Notification: Performance of matching and sorting (n=251): time 0.2835/0.9185, allocations: 76.72 MB / 1.554 GB, free: 7.895 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.9186, allocations: 77.41 kB / 1.554 GB, free: 7.805 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/0.9212, allocations: 1.67 MB / 1.555 GB, free: 6.09 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.000492/0.9217, allocations: 69.7 kB / 1.556 GB, free: 6.016 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.9231, allocations: 1.799 MB / 1.557 GB, free: 4.199 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001114/0.9243, allocations: 0.8868 MB / 1.558 GB, free: 3.305 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/0.9253, allocations: 493.3 kB / 1.559 GB, free: 2.816 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.9254, allocations: 301.1 kB / 1.559 GB, free: 2.52 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004092/0.9295, allocations: 2.73 MB / 1.562 GB, free: 15.79 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004623/0.9341, allocations: 3.328 MB / 1.565 GB, free: 12.21 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009192/0.9433, allocations: 6.397 MB / 1.571 GB, free: 5.574 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.9433, allocations: 4 kB / 1.571 GB, free: 5.57 MB / 1.264 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03332/0.9766, allocations: 14.41 MB / 1.585 GB, free: 7.109 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/0.9767, allocations: 16 kB / 1.585 GB, free: 7.094 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/0.9767, allocations: 16 kB / 1.585 GB, free: 7.078 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02964/1.006, allocations: 9.242 MB / 1.594 GB, free: 13.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/1.008, allocations: 299.5 kB / 1.595 GB, free: 13.51 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9125/1.92, allocations: 51.77 MB / 1.645 GB, free: 216.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/1.923, allocations: 218.1 kB / 1.645 GB, free: 216.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/1.923, allocations: 100.4 kB / 1.645 GB, free: 216.7 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002538/1.926, allocations: 1.595 MB / 1.647 GB, free: 216 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005389/1.926, allocations: 256 kB / 1.647 GB, free: 216 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02716/1.953, allocations: 14.47 MB / 1.661 GB, free: 212 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.781e-05/1.953, allocations: 27.38 kB / 1.661 GB, free: 212 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000128/1.953, allocations: 44.91 kB / 1.661 GB, free: 212 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.593e-05/1.953, allocations: 11.53 kB / 1.661 GB, free: 212 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03431/1.988, allocations: 20.22 MB / 1.681 GB, free: 200.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.763e-05/1.988, allocations: 8 kB / 1.681 GB, free: 200.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007062/1.989, allocations: 159.8 kB / 1.681 GB, free: 200.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02419/2.013, allocations: 9.004 MB / 1.69 GB, free: 191 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004997/2.013, allocations: 48 kB / 1.69 GB, free: 191 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06143/2.075, allocations: 51.35 MB / 1.74 GB, free: 139 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/2.075, allocations: 20.3 kB / 1.74 GB, free: 139 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02598/2.101, allocations: 14.1 MB / 1.754 GB, free: 124.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002534/2.103, allocations: 0.7825 MB / 1.755 GB, free: 124 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006836/2.104, allocations: 59.88 kB / 1.755 GB, free: 123.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001974/2.106, allocations: 207.7 kB / 1.755 GB, free: 123.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001189/2.107, allocations: 249.4 kB / 1.755 GB, free: 123.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001944/2.107, allocations: 64 kB / 1.755 GB, free: 123.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001308/2.109, allocations: 1.125 MB / 1.756 GB, free: 122.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 6.1e-08/2.109, allocations: 0 / 1.756 GB, free: 122.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004907/2.113, allocations: 1.613 MB / 1.758 GB, free: 120.6 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000405/2.114, allocations: 159 kB / 1.758 GB, free: 120.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01853/2.132, allocations: 10.2 MB / 1.768 GB, free: 110.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/2.132, allocations: 0 / 1.768 GB, free: 110.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0144/2.147, allocations: 7.017 MB / 1.775 GB, free: 103.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/2.15, allocations: 0.5605 MB / 1.776 GB, free: 102.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/2.164, allocations: 9.553 MB / 1.785 GB, free: 93.01 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003144/2.167, allocations: 3.302 MB / 1.788 GB, free: 89.67 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/2.167, allocations: 107.4 kB / 1.788 GB, free: 89.56 MB / 1.295 GB Notification: Performance of SimCode: time 1.553e-06/2.167, allocations: 0 / 1.788 GB, free: 89.56 MB / 1.295 GB Notification: Performance of Templates: time 0.2059/2.373, allocations: 188 MB / 1.972 GB, free: 13.38 MB / 1.404 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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: 22.563234156026738]