Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.001131/0.001131, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001579/0.00271, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000981/0.000981, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001297/0.002278, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9084/0.9084, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09912/1.008, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.288/2.288, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2356/2.524, allocations: 146 MB / 0.8176 GB, free: 3.832 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.276e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004139/0.004152, allocations: 4.963 MB / 0.8238 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002374/0.006526, allocations: 1.8 MB / 0.8255 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.006737, allocations: 43.62 kB / 0.8256 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.00715, allocations: 226.4 kB / 0.8258 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004942/0.007644, allocations: 0.5085 MB / 0.8263 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.008106, allocations: 403.1 kB / 0.8267 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0008509/0.008957, allocations: 1.357 MB / 0.828 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005006/0.009458, allocations: 0.5393 MB / 0.8285 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000578/0.01004, allocations: 0.741 MB / 0.8292 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005182/0.01055, allocations: 0.5298 MB / 0.8298 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.299e-05/0.01063, allocations: 68 kB / 0.8298 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.01084, allocations: 139.8 kB / 0.83 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.01103, allocations: 291.2 kB / 0.8302 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.01123, allocations: 263.4 kB / 0.8305 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005201/0.01175, allocations: 0.689 MB / 0.8312 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.01176, allocations: 0 / 0.8312 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.02e-07/0.01176, allocations: 0 / 0.8312 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.01178, allocations: 0 / 0.8312 GB, free: 5.906 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001322/0.0131, allocations: 1.227 MB / 0.8324 GB, free: 4.652 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.01313, allocations: 12.03 kB / 0.8324 GB, free: 4.641 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007101/0.01384, allocations: 353.4 kB / 0.8327 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.01434, allocations: 0.5145 MB / 0.8332 GB, free: 3.734 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.01437, allocations: 45.69 kB / 0.8333 GB, free: 3.688 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.968e-05/0.01444, allocations: 72.36 kB / 0.8333 GB, free: 3.617 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/0.01506, allocations: 0.949 MB / 0.8342 GB, free: 2.492 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.01508, allocations: 12.08 kB / 0.8343 GB, free: 2.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.01512, allocations: 28.36 kB / 0.8343 GB, free: 2.453 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.336e-05/0.01521, allocations: 89.17 kB / 0.8344 GB, free: 2.367 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.01548, allocations: 256.6 kB / 0.8346 GB, free: 2.117 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.01794, allocations: 3.926 MB / 0.8384 GB, free: 14.05 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.0183, allocations: 285.7 kB / 0.8387 GB, free: 13.76 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.0184, allocations: 99.45 kB / 0.8388 GB, free: 13.66 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.01842, allocations: 8.5 kB / 0.8388 GB, free: 13.65 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.01845, allocations: 39.06 kB / 0.8389 GB, free: 13.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=47): time 1.824e-06/0.01845, allocations: 4 kB / 0.8389 GB, free: 13.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.001289/0.01974, allocations: 0.816 MB / 0.8397 GB, free: 12.76 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.01976, allocations: 59.91 kB / 0.8397 GB, free: 12.69 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.02001, allocations: 482.9 kB / 0.8402 GB, free: 12.21 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.02004, allocations: 33.7 kB / 0.8402 GB, free: 12.17 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.02017, allocations: 376.7 kB / 0.8406 GB, free: 11.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.909e-05/0.02025, allocations: 186.5 kB / 0.8407 GB, free: 11.62 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.02036, allocations: 122.5 kB / 0.8409 GB, free: 11.49 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.025e-05/0.02045, allocations: 374.7 kB / 0.8412 GB, free: 11.12 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.02053, allocations: 69.97 kB / 0.8413 GB, free: 11.05 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.0207, allocations: 308.9 kB / 0.8416 GB, free: 10.65 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.02103, allocations: 458.4 kB / 0.842 GB, free: 10.11 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.02103, allocations: 0 / 0.842 GB, free: 10.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0005998/0.02163, allocations: 0.5632 MB / 0.8426 GB, free: 9.52 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.02165, allocations: 9.25 kB / 0.8426 GB, free: 9.512 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.02166, allocations: 8 kB / 0.8426 GB, free: 9.504 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006037/0.02226, allocations: 294.6 kB / 0.8429 GB, free: 9.199 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.0225, allocations: 127.8 kB / 0.843 GB, free: 9.074 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/0.02549, allocations: 5.306 MB / 0.8482 GB, free: 3.379 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.02569, allocations: 28 kB / 0.8482 GB, free: 3.352 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.02571, allocations: 24 kB / 0.8482 GB, free: 3.328 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0001403/0.02585, allocations: 156.5 kB / 0.8484 GB, free: 3.164 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.02592, allocations: 63.92 kB / 0.8484 GB, free: 3.102 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005049/0.02642, allocations: 451.5 kB / 0.8489 GB, free: 2.625 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.02642, allocations: 4 kB / 0.8489 GB, free: 2.621 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.02643, allocations: 4 kB / 0.8489 GB, free: 2.617 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.02643, allocations: 3.984 kB / 0.8489 GB, free: 2.613 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008652/0.0273, allocations: 0.8775 MB / 0.8497 GB, free: 1.676 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.0273, allocations: 8.031 kB / 0.8497 GB, free: 1.668 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.02743, allocations: 55.91 kB / 0.8498 GB, free: 1.613 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.02753, allocations: 87.53 kB / 0.8499 GB, free: 1.527 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005298/0.02806, allocations: 282.7 kB / 0.8501 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.02808, allocations: 8 kB / 0.8502 GB, free: 1.227 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/0.03105, allocations: 5.301 MB / 0.8553 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.03105, allocations: 4 kB / 0.8553 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/0.03157, allocations: 0.5817 MB / 0.8559 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.03161, allocations: 12 kB / 0.8559 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.03176, allocations: 19.97 kB / 0.8559 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.03183, allocations: 47.81 kB / 0.856 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.03184, allocations: 15.94 kB / 0.856 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001309/0.03197, allocations: 204.4 kB / 0.8562 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.03197, allocations: 4 kB / 0.8562 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004224/0.0324, allocations: 220 kB / 0.8564 GB, free: 10.39 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001148/0.03251, allocations: 100.3 kB / 0.8565 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007324/0.03324, allocations: 0.8989 MB / 0.8574 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.961e-05/0.03326, allocations: 12.97 kB / 0.8574 GB, free: 9.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.03377, allocations: 0.7464 MB / 0.8581 GB, free: 8.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.03502, allocations: 1.989 MB / 0.8601 GB, free: 6.137 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/0.04007, allocations: 1.311 MB / 0.8613 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.04023, allocations: 207.4 kB / 0.8615 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.04042, allocations: 81.64 kB / 0.8616 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/0.0407, allocations: 213.2 kB / 0.8618 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of SimCode: time 1.152e-06/0.0407, allocations: 0 / 0.8618 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.01393/0.05463, allocations: 12.52 MB / 0.874 GB, free: 7.957 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.150453164242208]