Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.001418/0.001418, 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.001598/0.001598, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.793 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.628/3.628, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [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.002187/0.002187, allocations: 66.67 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4913/0.4934, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03033/0.5238, allocations: 21.27 MB / 1.385 GB, free: 8.242 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03247/0.5562, allocations: 16.85 MB / 1.401 GB, free: 7.344 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005644/0.5619, allocations: 170.6 kB / 1.401 GB, free: 7.176 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01308/0.575, allocations: 4.163 MB / 1.405 GB, free: 3.008 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01562/0.5906, allocations: 3.584 MB / 1.409 GB, free: 15.41 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005098/0.5957, allocations: 1.316 MB / 1.41 GB, free: 14.1 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01222/0.6079, allocations: 5.79 MB / 1.416 GB, free: 8.289 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005896/0.6138, allocations: 2.834 MB / 1.419 GB, free: 5.379 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007132/0.6209, allocations: 2.824 MB / 1.421 GB, free: 2.547 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005525/0.6265, allocations: 2.147 MB / 1.423 GB, free: 400 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001736/0.6282, allocations: 364 kB / 1.424 GB, free: 36 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004419/0.6326, allocations: 0.9516 MB / 1.425 GB, free: 15.08 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.002188/0.6348, allocations: 1.215 MB / 1.426 GB, free: 13.86 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00365/0.6385, allocations: 1.633 MB / 1.427 GB, free: 12.22 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.009584/0.648, allocations: 5.203 MB / 1.433 GB, free: 7 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.648, allocations: 0 / 1.433 GB, free: 7 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.755e-06/0.648, allocations: 0 / 1.433 GB, free: 7 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001929/0.6482, allocations: 0 / 1.433 GB, free: 7 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: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01364/0.6619, allocations: 4.631 MB / 1.437 GB, free: 2.27 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/0.6619, allocations: 8.031 kB / 1.437 GB, free: 2.262 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01669/0.6786, allocations: 3.283 MB / 1.44 GB, free: 14.97 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006702/0.6853, allocations: 2.162 MB / 1.442 GB, free: 12.73 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005811/0.6859, allocations: 462.3 kB / 1.443 GB, free: 12.22 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000959/0.6869, allocations: 243.9 kB / 1.443 GB, free: 11.98 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01355/0.7004, allocations: 5.36 MB / 1.448 GB, free: 6.367 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.656e-05/0.7005, allocations: 4 kB / 1.448 GB, free: 6.363 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003342/0.7008, allocations: 108 kB / 1.448 GB, free: 6.258 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002646/0.7011, allocations: 172.8 kB / 1.449 GB, free: 6.086 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0147/0.7158, allocations: 5.194 MB / 1.454 GB, free: 0.875 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02299/0.7388, allocations: 8.756 MB / 1.462 GB, free: 8 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/0.749, allocations: 3.251 MB / 1.465 GB, free: 4.742 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003948/0.7529, allocations: 1.373 MB / 1.467 GB, free: 3.367 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.7531, allocations: 21.3 kB / 1.467 GB, free: 3.348 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005148/0.7582, allocations: 2.45 MB / 1.469 GB, free: 0.668 MB / 1.154 GB Notification: Performance of pre-optimization done (n=163): time 4.499e-06/0.7582, allocations: 0 / 1.469 GB, free: 0.668 MB / 1.154 GB Notification: Performance of matching and sorting (n=250): time 0.1347/0.8929, allocations: 27.5 MB / 1.496 GB, free: 5.109 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003204/0.8933, allocations: 0.4967 MB / 1.496 GB, free: 4.504 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004018/0.8973, allocations: 1.998 MB / 1.498 GB, free: 2.492 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0004163/0.8977, allocations: 77.7 kB / 1.498 GB, free: 2.41 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001654/0.8994, allocations: 1.469 MB / 1.5 GB, free: 0.9297 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001216/0.9006, allocations: 0.8676 MB / 1.501 GB, free: 56 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/0.9016, allocations: 420.5 kB / 1.501 GB, free: 15.64 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.9017, allocations: 301.1 kB / 1.501 GB, free: 15.34 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005632/0.9074, allocations: 2.066 MB / 1.503 GB, free: 13.24 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006219/0.9136, allocations: 2.774 MB / 1.506 GB, free: 10.25 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/0.9249, allocations: 4.161 MB / 1.51 GB, free: 5.953 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/0.9249, allocations: 4 kB / 1.51 GB, free: 5.949 MB / 1.201 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02038/0.9453, allocations: 6.581 MB / 1.517 GB, free: 15.25 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.9454, allocations: 152.5 kB / 1.517 GB, free: 15.07 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.9454, allocations: 8 kB / 1.517 GB, free: 15.06 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/0.9565, allocations: 2.913 MB / 1.52 GB, free: 12.14 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/0.9595, allocations: 491.2 kB / 1.52 GB, free: 11.66 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04287/1.002, allocations: 18.21 MB / 1.538 GB, free: 9.273 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0046/1.007, allocations: 323.6 kB / 1.538 GB, free: 8.957 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003809/1.007, allocations: 87.97 kB / 1.538 GB, free: 8.871 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001732/1.009, allocations: 0.7025 MB / 1.539 GB, free: 8.16 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007245/1.01, allocations: 322 kB / 1.539 GB, free: 7.844 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008303/1.011, allocations: 357.2 kB / 1.54 GB, free: 7.484 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/1.011, allocations: 27.94 kB / 1.54 GB, free: 7.457 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.393e-05/1.011, allocations: 15.94 kB / 1.54 GB, free: 7.441 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.118e-05/1.011, allocations: 11.95 kB / 1.54 GB, free: 7.43 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004512/1.015, allocations: 2.72 MB / 1.542 GB, free: 4.676 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.015, allocations: 0 / 1.542 GB, free: 4.676 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002599/1.018, allocations: 419.4 kB / 1.543 GB, free: 4.266 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0102/1.028, allocations: 2.859 MB / 1.546 GB, free: 1.391 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003595/1.028, allocations: 51.95 kB / 1.546 GB, free: 1.34 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04147/1.07, allocations: 17.98 MB / 1.563 GB, free: 15.14 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.07, allocations: 0 / 1.563 GB, free: 15.14 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01914/1.089, allocations: 6.083 MB / 1.569 GB, free: 9.035 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003042/1.092, allocations: 0.6032 MB / 1.57 GB, free: 8.43 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000546/1.093, allocations: 48 kB / 1.57 GB, free: 8.383 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003226/1.096, allocations: 315.6 kB / 1.57 GB, free: 8.074 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001562/1.097, allocations: 366.4 kB / 1.57 GB, free: 7.715 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/1.098, allocations: 67.97 kB / 1.57 GB, free: 7.648 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002499/1.1, allocations: 1.316 MB / 1.572 GB, free: 6.324 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/1.1, allocations: 0 / 1.572 GB, free: 6.324 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004142/1.104, allocations: 1.035 MB / 1.573 GB, free: 5.289 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005112/1.105, allocations: 171.6 kB / 1.573 GB, free: 5.109 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.02384/1.129, allocations: 6.457 MB / 1.579 GB, free: 14.53 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.129, allocations: 3.938 kB / 1.579 GB, free: 14.52 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01756/1.146, allocations: 3.927 MB / 1.583 GB, free: 10.57 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005027/1.151, allocations: 1.034 MB / 1.584 GB, free: 9.574 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/1.168, allocations: 6.79 MB / 1.591 GB, free: 2.75 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002367/1.17, allocations: 1.687 MB / 1.592 GB, free: 1.02 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002555/1.173, allocations: 479.4 kB / 1.593 GB, free: 0.5469 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000662/1.173, allocations: 175.4 kB / 1.593 GB, free: 384 kB / 1.279 GB Notification: Performance of SimCode: time 1.513e-06/1.173, allocations: 3.938 kB / 1.593 GB, free: 380 kB / 1.279 GB Notification: Performance of Templates: time 1.011/2.184, allocations: 77.59 MB / 1.669 GB, free: 205.2 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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: 14.304441286250949]