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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 117.6 kB / 16.42 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 186.5 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.817/2.817, allocations: 469.4 MB / 0.7428 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 64.11 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205/1.207, allocations: 159.1 MB / 1.221 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.004133/1.211, allocations: 1.216 MB / 1.222 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004096/1.211, allocations: 59.75 kB / 1.222 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/1.211, allocations: 4 kB / 1.222 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.817e-05/1.211, allocations: 0 / 1.222 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001775/1.212, allocations: 11.92 kB / 1.222 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/1.212, allocations: 7.984 kB / 1.222 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/1.212, allocations: 11.94 kB / 1.222 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/1.212, allocations: 7.984 kB / 1.222 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/1.212, allocations: 11.98 kB / 1.222 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.243e-05/1.212, allocations: 4.75 kB / 1.222 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/1.212, allocations: 0 / 1.222 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/1.212, allocations: 7.984 kB / 1.222 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/1.213, allocations: 52.39 kB / 1.222 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.636e-05/1.213, allocations: 35.75 kB / 1.222 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/1.213, allocations: 81.31 kB / 1.222 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.213, allocations: 0 / 1.222 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.897e-06/1.213, allocations: 0 / 1.222 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.157e-06/1.213, allocations: 0 / 1.222 GB, free: 0.8828 MB / 0.9356 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.0007195/1.214, allocations: 426.8 kB / 1.223 GB, free: 428 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.481e-05/1.214, allocations: 12.62 kB / 1.223 GB, free: 416 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.879e-05/1.214, allocations: 92.03 kB / 1.223 GB, free: 324 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/1.214, allocations: 267.3 kB / 1.223 GB, free: 16 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/1.214, allocations: 154.7 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.128e-05/1.214, allocations: 154.5 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.978e-05/1.214, allocations: 101 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/1.214, allocations: 79.28 kB / 1.224 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/1.214, allocations: 154.6 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.54e-05/1.214, allocations: 154.6 kB / 1.224 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.089e-05/1.215, allocations: 150.6 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/1.215, allocations: 0.4899 MB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/1.215, allocations: 173.1 kB / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/1.215, allocations: 84.19 kB / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.021e-05/1.215, allocations: 79.22 kB / 1.225 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.254e-05/1.215, allocations: 109.8 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 2.154e-06/1.215, allocations: 0 / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001218/1.215, allocations: 37.55 kB / 1.225 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/1.215, allocations: 59.41 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/1.216, allocations: 234.9 kB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/1.216, allocations: 29.64 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.365e-05/1.216, allocations: 108 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-06/1.216, allocations: 0 / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.301e-05/1.216, allocations: 37.7 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.216, allocations: 322.8 kB / 1.226 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.932e-05/1.216, allocations: 55.95 kB / 1.226 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.728e-05/1.216, allocations: 67.89 kB / 1.226 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/1.217, allocations: 131.6 kB / 1.226 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.217, allocations: 4 kB / 1.226 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004266/1.217, allocations: 185.3 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/1.217, allocations: 4 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.217, allocations: 0 / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/1.217, allocations: 0 / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.336e-06/1.217, allocations: 3.984 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.217, allocations: 0 / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/1.217, allocations: 11.84 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/1.217, allocations: 8.062 kB / 1.226 GB, free: 12.74 MB / 0.9512 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.0001732/1.217, allocations: 208.2 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/1.217, allocations: 112.8 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.105e-05/1.218, allocations: 121.5 kB / 1.227 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.13e-05/1.218, allocations: 176.3 kB / 1.227 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-05/1.218, allocations: 108.9 kB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/1.218, allocations: 193.9 kB / 1.227 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-05/1.218, allocations: 176.3 kB / 1.227 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-05/1.218, allocations: 104.9 kB / 1.227 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.796e-05/1.218, allocations: 192.2 kB / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001234/1.218, allocations: 259.5 kB / 1.228 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002343/1.219, allocations: 387.9 kB / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.349e-05/1.219, allocations: 112.9 kB / 1.228 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001356/1.219, allocations: 155.2 kB / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of Backend: time 1.9e-07/1.219, allocations: 3.938 kB / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005378/1.219, allocations: 154.3 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008283/1.22, allocations: 0.9814 MB / 1.229 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of Templates: time 0.003926/1.224, allocations: 0.7579 MB / 1.23 GB, free: 8.406 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches