Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001585/0.001585, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001729/0.001729, allocations: 202.9 kB / 22.17 MB, free: 5.207 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.477/1.477, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.844/2.844, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 68.08 kB / 1.109 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066/1.068, allocations: 168.7 MB / 1.274 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002682/1.071, allocations: 1.222 MB / 1.275 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002989/1.071, allocations: 67.8 kB / 1.275 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/1.071, allocations: 0 / 1.275 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.613e-05/1.071, allocations: 0 / 1.275 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/1.071, allocations: 3.938 kB / 1.275 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/1.072, allocations: 7.984 kB / 1.275 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000103/1.072, allocations: 19.92 kB / 1.275 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.917e-05/1.072, allocations: 11.98 kB / 1.275 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.659e-05/1.072, allocations: 4 kB / 1.275 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/1.072, allocations: 8.688 kB / 1.275 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/1.072, allocations: 0 / 1.275 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-05/1.072, allocations: 15.92 kB / 1.275 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/1.072, allocations: 44.44 kB / 1.275 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/1.072, allocations: 43.67 kB / 1.275 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/1.072, allocations: 74.27 kB / 1.276 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/1.072, allocations: 4 kB / 1.276 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.254e-06/1.072, allocations: 3.938 kB / 1.276 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.023e-06/1.072, allocations: 0 / 1.276 GB, free: 3.062 MB / 0.9669 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.0006102/1.073, allocations: 426.7 kB / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/1.073, allocations: 12.03 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/1.073, allocations: 88.12 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/1.073, allocations: 275.3 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.119e-05/1.073, allocations: 158.7 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.844e-05/1.073, allocations: 154.6 kB / 1.277 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/1.074, allocations: 105 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.069e-05/1.074, allocations: 75.28 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.174e-05/1.074, allocations: 150.6 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-05/1.074, allocations: 150.6 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.509e-05/1.074, allocations: 158.5 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/1.074, allocations: 0.49 MB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/1.074, allocations: 169.1 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/1.074, allocations: 80.14 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.577e-05/1.075, allocations: 83.27 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.934e-05/1.075, allocations: 109.8 kB / 1.278 GB, free: 256 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.075, allocations: 0 / 1.278 GB, free: 256 kB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001025/1.075, allocations: 45.55 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/1.075, allocations: 126.7 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/1.075, allocations: 227 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/1.075, allocations: 25.7 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.833e-05/1.075, allocations: 116.1 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/1.075, allocations: 0 / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/1.075, allocations: 37.69 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.075, allocations: 330.8 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/1.075, allocations: 59.91 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.906e-05/1.076, allocations: 55.95 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/1.076, allocations: 135.4 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.076, allocations: 0 / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003874/1.076, allocations: 177.4 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.076, allocations: 12.05 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/1.076, allocations: 0 / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/1.076, allocations: 0 / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/1.076, allocations: 3.938 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.076, allocations: 4 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/1.076, allocations: 19.72 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/1.076, allocations: 8 kB / 1.279 GB, free: 14.84 MB / 0.9825 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.0001607/1.076, allocations: 205 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/1.077, allocations: 124.8 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.694e-05/1.077, allocations: 109.5 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-05/1.077, allocations: 180.2 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.795e-05/1.077, allocations: 180.2 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.281e-05/1.077, allocations: 181.8 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/1.077, allocations: 449.1 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.507e-05/1.077, allocations: 105 kB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.136e-05/1.077, allocations: 105 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.058e-05/1.077, allocations: 180.2 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-05/1.078, allocations: 176.3 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.413e-05/1.078, allocations: 180.2 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.348e-05/1.078, allocations: 192.3 kB / 1.282 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/1.078, allocations: 315.6 kB / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/1.078, allocations: 190 kB / 1.282 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.078, allocations: 188.2 kB / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/1.078, allocations: 105.3 kB / 1.282 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.223e-05/1.078, allocations: 180.3 kB / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.534e-05/1.078, allocations: 104.9 kB / 1.283 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001518/1.078, allocations: 155.2 kB / 1.283 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.078, allocations: 0 / 1.283 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002649/1.079, allocations: 20 kB / 1.283 GB, free: 11.06 MB / 0.9825 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.0002187/1.079, allocations: 175 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001577/1.079, allocations: 75.94 kB / 1.283 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.079, allocations: 0 / 1.283 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/1.079, allocations: 0 / 1.283 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/1.08, allocations: 461.3 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005015/1.08, allocations: 306 kB / 1.284 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/1.08, allocations: 0.7119 MB / 1.285 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.066e-05/1.081, allocations: 7.984 kB / 1.285 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/1.081, allocations: 15.38 kB / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/1.081, allocations: 0 / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of Templates: time 0.00365/1.084, allocations: 0.746 MB / 1.285 GB, free: 8.523 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.262463239952922]