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.001266/0.001266, allocations: 108.5 kB / 16.41 MB, free: 6.5 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.0013/0.001301, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.447/1.447, allocations: 222.9 MB / 241 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.676/2.676, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 63.89 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299/1.301, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003926/1.305, allocations: 1.223 MB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003825/1.305, allocations: 59.77 kB / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/1.305, allocations: 0 / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.364e-05/1.306, allocations: 0 / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001707/1.306, allocations: 11.92 kB / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/1.306, allocations: 7.984 kB / 1.21 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/1.306, allocations: 23.92 kB / 1.21 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.077e-05/1.306, allocations: 0 / 1.21 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.823e-05/1.306, allocations: 11.92 kB / 1.21 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.911e-05/1.306, allocations: 8.734 kB / 1.21 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/1.307, allocations: 0 / 1.21 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/1.307, allocations: 7.938 kB / 1.21 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/1.307, allocations: 48.44 kB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.624e-05/1.307, allocations: 43.69 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/1.307, allocations: 69.41 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/1.307, allocations: 0 / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.168e-06/1.307, allocations: 0 / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.967e-06/1.307, allocations: 0 / 1.21 GB, free: 12.12 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.0007132/1.308, allocations: 430.7 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.761e-05/1.308, allocations: 12.03 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/1.308, allocations: 91.97 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/1.308, allocations: 255.5 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/1.308, allocations: 158.7 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/1.309, allocations: 158.5 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/1.309, allocations: 105 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.099e-05/1.309, allocations: 79.22 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.786e-05/1.309, allocations: 150.6 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.668e-05/1.309, allocations: 154.6 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.81e-05/1.309, allocations: 154.5 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/1.309, allocations: 0.49 MB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/1.31, allocations: 169.1 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/1.31, allocations: 88.19 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.757e-05/1.31, allocations: 75.28 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.331e-05/1.31, allocations: 105.8 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.31, allocations: 0 / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.00015/1.31, allocations: 53.44 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/1.31, allocations: 51.41 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/1.31, allocations: 230.9 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/1.31, allocations: 29.7 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/1.31, allocations: 112 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-06/1.31, allocations: 0 / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/1.311, allocations: 37.69 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001775/1.311, allocations: 326.8 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.351e-05/1.311, allocations: 59.95 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/1.311, allocations: 55.91 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/1.311, allocations: 138.6 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.311, allocations: 4.031 kB / 1.213 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004018/1.312, allocations: 173.4 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/1.312, allocations: 4 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.312, allocations: 0 / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/1.312, allocations: 3.938 kB / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.743e-06/1.312, allocations: 0 / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/1.312, allocations: 0 / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/1.312, allocations: 15.75 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/1.312, allocations: 8 kB / 1.214 GB, free: 7.977 MB / 0.9356 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.0001577/1.312, allocations: 205.1 kB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/1.312, allocations: 120.7 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.042e-05/1.312, allocations: 117.5 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-05/1.312, allocations: 176.3 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-05/1.312, allocations: 108.9 kB / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/1.312, allocations: 189.9 kB / 1.215 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.676e-05/1.312, allocations: 188.2 kB / 1.215 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.168e-05/1.312, allocations: 112.9 kB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/1.313, allocations: 180.2 kB / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001098/1.313, allocations: 255.5 kB / 1.215 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001847/1.313, allocations: 394.9 kB / 1.216 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.692e-05/1.313, allocations: 101 kB / 1.216 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001362/1.313, allocations: 156.6 kB / 1.216 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of Backend: time 9.01e-07/1.313, allocations: 0 / 1.216 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005348/1.314, allocations: 166.3 kB / 1.216 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0008632/1.314, allocations: 0.9851 MB / 1.217 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of Templates: time 0.003549/1.318, allocations: 0.7774 MB / 1.218 GB, free: 3.617 MB / 0.9356 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