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.001732/0.001732, 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.002268/0.002268, allocations: 200.1 kB / 22.17 MB, free: 5.211 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.601/1.601, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.905/2.905, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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.001995/0.001995, allocations: 67.91 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.105, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003057/1.108, allocations: 1.222 MB / 1.275 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002956/1.108, allocations: 55.83 kB / 1.275 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/1.108, allocations: 0 / 1.275 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.794e-05/1.108, allocations: 7.938 kB / 1.275 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/1.108, allocations: 11.97 kB / 1.275 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/1.109, allocations: 4 kB / 1.275 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/1.109, allocations: 19.92 kB / 1.275 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/1.109, allocations: 0 / 1.275 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.418e-05/1.109, allocations: 7.984 kB / 1.275 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/1.109, allocations: 12.67 kB / 1.275 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/1.109, allocations: 4 kB / 1.275 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.954e-05/1.109, allocations: 8 kB / 1.275 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/1.109, allocations: 52.38 kB / 1.275 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/1.109, allocations: 39.69 kB / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/1.109, allocations: 82.23 kB / 1.276 GB, free: 3 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.109, allocations: 0 / 1.276 GB, free: 3 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.205e-06/1.109, allocations: 0 / 1.276 GB, free: 3 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.143e-05/1.109, allocations: 0 / 1.276 GB, free: 3 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.0005526/1.11, allocations: 430.6 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/1.11, allocations: 8.031 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/1.11, allocations: 88.12 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/1.11, allocations: 275.4 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-05/1.11, allocations: 158.7 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.851e-05/1.11, allocations: 150.6 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.307e-05/1.11, allocations: 101 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.314e-05/1.111, allocations: 75.28 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/1.111, allocations: 154.6 kB / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-05/1.111, allocations: 158.5 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.831e-05/1.111, allocations: 154.6 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/1.111, allocations: 497.8 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/1.111, allocations: 177.1 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/1.112, allocations: 80.14 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/1.112, allocations: 79.22 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/1.112, allocations: 109.8 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/1.112, allocations: 0 / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.506e-05/1.112, allocations: 41.55 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/1.112, allocations: 134.7 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/1.112, allocations: 227.1 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/1.112, allocations: 25.7 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.819e-05/1.112, allocations: 108.1 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/1.112, allocations: 0 / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/1.112, allocations: 41.69 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.113, allocations: 326.8 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.016e-05/1.113, allocations: 59.89 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-05/1.113, allocations: 63.91 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/1.113, allocations: 135.2 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.113, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003734/1.113, allocations: 169.5 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.113, allocations: 8 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.113, allocations: 0 / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.113, allocations: 0 / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/1.113, allocations: 0 / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/1.113, allocations: 0 / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/1.113, allocations: 23.72 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/1.113, allocations: 15.91 kB / 1.279 GB, free: 14.78 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.0001553/1.114, allocations: 205.1 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.782e-05/1.114, allocations: 124.8 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.117e-05/1.114, allocations: 109.5 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.559e-05/1.114, allocations: 180.2 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.597e-05/1.114, allocations: 180.3 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001029/1.114, allocations: 189.8 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/1.114, allocations: 441.1 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.276e-05/1.114, allocations: 101 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/1.114, allocations: 104.9 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-05/1.115, allocations: 180.2 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-05/1.115, allocations: 184.3 kB / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.526e-05/1.115, allocations: 184.2 kB / 1.281 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.625e-05/1.115, allocations: 180.3 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/1.115, allocations: 323.6 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/1.115, allocations: 190 kB / 1.282 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/1.115, allocations: 184.2 kB / 1.282 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/1.115, allocations: 105.3 kB / 1.282 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/1.115, allocations: 188.2 kB / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/1.116, allocations: 101 kB / 1.283 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001455/1.116, allocations: 151.2 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.116, allocations: 0 / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003062/1.116, allocations: 16 kB / 1.283 GB, free: 11.01 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.0002154/1.116, allocations: 190.9 kB / 1.283 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001605/1.116, allocations: 67.89 kB / 1.283 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.116, allocations: 0 / 1.283 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/1.116, allocations: 0 / 1.283 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/1.117, allocations: 469.1 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/1.117, allocations: 301.9 kB / 1.284 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/1.118, allocations: 0.7041 MB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.251e-05/1.118, allocations: 15.98 kB / 1.285 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/1.118, allocations: 11.42 kB / 1.285 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/1.118, allocations: 8 kB / 1.285 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of Templates: time 0.003723/1.122, allocations: 0.7448 MB / 1.285 GB, free: 8.457 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 cvode -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.673424484673887]