Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 192.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.322/3.322, allocations: 495.7 MB / 0.7831 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 67.52 kB / 1.137 GB, free: 33.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5383/0.5404, allocations: 173.6 MB / 1.307 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002877/0.5433, allocations: 1.224 MB / 1.308 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003245/0.5436, allocations: 64.16 kB / 1.308 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.5436, allocations: 0 / 1.308 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.978e-05/0.5437, allocations: 3.938 kB / 1.308 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.5438, allocations: 11.92 kB / 1.308 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.544, allocations: 4 kB / 1.308 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.5441, allocations: 23.91 kB / 1.308 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.648e-05/0.5442, allocations: 0 / 1.308 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.5442, allocations: 4 kB / 1.308 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.5443, allocations: 12.73 kB / 1.308 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.5443, allocations: 0 / 1.308 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.927e-05/0.5444, allocations: 8 kB / 1.308 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.5445, allocations: 64.3 kB / 1.308 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.498e-05/0.5446, allocations: 35.75 kB / 1.308 GB, free: 480 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.5448, allocations: 83.45 kB / 1.308 GB, free: 396 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5448, allocations: 0 / 1.308 GB, free: 396 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.916e-06/0.5448, allocations: 0 / 1.308 GB, free: 396 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.5448, allocations: 0 / 1.308 GB, free: 396 kB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005373/0.5453, allocations: 345.6 kB / 1.309 GB, free: 20 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.5454, allocations: 12.92 kB / 1.309 GB, free: 8 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.5455, allocations: 94.59 kB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.5457, allocations: 210.3 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-05/0.5458, allocations: 152.2 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.167e-05/0.5458, allocations: 150.6 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.55e-05/0.5459, allocations: 105 kB / 1.309 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.165e-05/0.546, allocations: 79.28 kB / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.007e-05/0.546, allocations: 154.5 kB / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-05/0.5461, allocations: 154.5 kB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.817e-05/0.5462, allocations: 150.6 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.5466, allocations: 468.9 kB / 1.31 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.5467, allocations: 173.1 kB / 1.311 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.5467, allocations: 80.14 kB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.5468, allocations: 79.22 kB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.186e-05/0.5468, allocations: 113.8 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.5468, allocations: 0 / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001009/0.5469, allocations: 41.55 kB / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.547, allocations: 130.7 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.5473, allocations: 231 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.5473, allocations: 25.7 kB / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.58e-05/0.5474, allocations: 112.1 kB / 1.311 GB, free: 13.22 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.5474, allocations: 0 / 1.311 GB, free: 13.22 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.234e-05/0.5475, allocations: 41.69 kB / 1.311 GB, free: 13.17 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.5476, allocations: 326.8 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.741e-05/0.5477, allocations: 63.89 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.229e-05/0.5478, allocations: 55.91 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.548, allocations: 143.7 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.548, allocations: 0 / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003445/0.5483, allocations: 177.5 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.5484, allocations: 7.938 kB / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5484, allocations: 0 / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.5484, allocations: 0 / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-06/0.5484, allocations: 4 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.5484, allocations: 0 / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.5484, allocations: 19.84 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.5485, allocations: 8 kB / 1.312 GB, free: 12.37 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.5486, allocations: 205 kB / 1.312 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/0.5487, allocations: 120.8 kB / 1.312 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.424e-05/0.5488, allocations: 113.5 kB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.978e-05/0.5489, allocations: 184.2 kB / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.349e-05/0.549, allocations: 180.3 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.9e-05/0.549, allocations: 180.3 kB / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.5493, allocations: 408.2 kB / 1.314 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.772e-05/0.5494, allocations: 109 kB / 1.314 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.945e-05/0.5494, allocations: 104.9 kB / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-05/0.5495, allocations: 184.2 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.5496, allocations: 184.2 kB / 1.314 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.906e-05/0.5497, allocations: 184.2 kB / 1.314 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.049e-05/0.5498, allocations: 176.3 kB / 1.314 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.55, allocations: 308 kB / 1.315 GB, free: 9.621 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.5501, allocations: 132.8 kB / 1.315 GB, free: 9.484 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.5502, allocations: 188.2 kB / 1.315 GB, free: 9.293 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.5503, allocations: 101 kB / 1.315 GB, free: 9.188 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/0.5504, allocations: 180.2 kB / 1.315 GB, free: 9.004 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.738e-05/0.5504, allocations: 105 kB / 1.315 GB, free: 8.895 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001597/0.5506, allocations: 164.5 kB / 1.316 GB, free: 8.734 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.5506, allocations: 4 kB / 1.316 GB, free: 8.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002594/0.5509, allocations: 16 kB / 1.316 GB, free: 8.715 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000237/0.5511, allocations: 179.3 kB / 1.316 GB, free: 8.527 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001518/0.5512, allocations: 59.91 kB / 1.316 GB, free: 8.469 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5512, allocations: 4 kB / 1.316 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.5512, allocations: 0 / 1.316 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.5517, allocations: 464.7 kB / 1.316 GB, free: 8.012 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005108/0.5522, allocations: 301.9 kB / 1.317 GB, free: 7.684 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.5526, allocations: 0.708 MB / 1.317 GB, free: 6.949 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.292e-05/0.5526, allocations: 15.92 kB / 1.317 GB, free: 6.934 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.5527, allocations: 11.44 kB / 1.317 GB, free: 6.922 MB / 1.014 GB Notification: Performance of SimCode: time 4e-07/0.5527, allocations: 0 / 1.317 GB, free: 6.922 MB / 1.014 GB Notification: Performance of Templates: time 0.004675/0.5573, allocations: 0.7383 MB / 1.318 GB, free: 6.184 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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: 10.277093061245978]