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.001443/0.001443, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001688/0.001688, allocations: 194.8 kB / 16.26 MB, free: 6.625 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.439/1.439, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.871/2.871, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 60.55 kB / 0.8986 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5322/0.534, allocations: 157.4 MB / 1.052 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003777/0.5379, allocations: 1.276 MB / 1.054 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003697/0.5383, allocations: 51.83 kB / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.5383, allocations: 0 / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.758e-05/0.5384, allocations: 3.938 kB / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.5386, allocations: 11.97 kB / 1.054 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.5389, allocations: 15.94 kB / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.539, allocations: 11.98 kB / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.545e-05/0.5391, allocations: 0 / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.733e-05/0.5392, allocations: 15.92 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.5393, allocations: 25.42 kB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.5393, allocations: 0 / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.5394, allocations: 4 kB / 1.054 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.5396, allocations: 48.44 kB / 1.054 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.449e-05/0.5396, allocations: 39.69 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.5398, allocations: 75.86 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5399, allocations: 0 / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.257e-06/0.5399, allocations: 0 / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.5399, allocations: 4 kB / 1.054 GB, free: 7.18 MB / 0.8106 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.0005943/0.5405, allocations: 430.7 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.652e-05/0.5405, allocations: 8.625 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.5407, allocations: 84.12 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.5409, allocations: 274.7 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.319e-05/0.541, allocations: 150.6 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.86e-05/0.5411, allocations: 154.6 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.727e-05/0.5412, allocations: 108.9 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/0.5413, allocations: 75.28 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/0.5414, allocations: 150.6 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.637e-05/0.5414, allocations: 154.6 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.015e-05/0.5415, allocations: 150.6 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.5419, allocations: 0.4899 MB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.542, allocations: 181.1 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.944e-05/0.5421, allocations: 80.14 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.5422, allocations: 75.28 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/0.5422, allocations: 109.8 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.5422, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001302/0.5424, allocations: 41.5 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.5424, allocations: 126.7 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.5427, allocations: 231 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.5428, allocations: 25.7 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.511e-05/0.5429, allocations: 100.1 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-06/0.5429, allocations: 4 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.771e-05/0.543, allocations: 45.69 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5431, allocations: 330.7 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-05/0.5432, allocations: 51.97 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.367e-05/0.5433, allocations: 59.95 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.5435, allocations: 134.6 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5435, allocations: 3.938 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004407/0.544, allocations: 179.2 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.544, allocations: 8 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.544, allocations: 4.062 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.544, allocations: 0 / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.544, allocations: 0 / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.544, allocations: 0 / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.556e-05/0.5441, allocations: 23.67 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.5441, allocations: 11.88 kB / 1.058 GB, free: 2.965 MB / 0.8106 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.0001574/0.5443, allocations: 206.6 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.338e-05/0.5444, allocations: 112.8 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.254e-05/0.5445, allocations: 117.5 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.51e-05/0.5446, allocations: 188.2 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.272e-05/0.5446, allocations: 176.3 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-05/0.5447, allocations: 180.2 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.545, allocations: 441.1 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.622e-05/0.5451, allocations: 105 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.5451, allocations: 109.4 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.726e-05/0.5452, allocations: 176.3 kB / 1.059 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.192e-05/0.5453, allocations: 188.2 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.687e-05/0.5454, allocations: 180.3 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-05/0.5454, allocations: 180.5 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.5456, allocations: 319.6 kB / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.5458, allocations: 197.8 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.5459, allocations: 180.2 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.546, allocations: 101 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/0.5461, allocations: 188.2 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.5462, allocations: 101 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001497/0.5463, allocations: 168.5 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5463, allocations: 0 / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002715/0.5466, allocations: 16 kB / 1.061 GB, free: 15.19 MB / 0.8262 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.0002254/0.5468, allocations: 174.5 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001757/0.547, allocations: 83.89 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.547, allocations: 4.062 kB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.859e-06/0.547, allocations: 0 / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.5475, allocations: 465.1 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/0.548, allocations: 318.3 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.5484, allocations: 0.7119 MB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.5485, allocations: 11.98 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.5485, allocations: 11.44 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of SimCode: time 6.41e-07/0.5485, allocations: 3.938 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of Templates: time 0.004294/0.5528, allocations: 0.7306 MB / 1.064 GB, free: 12.63 MB / 0.8262 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/jenkins/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