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.001394/0.001394, allocations: 104.3 kB / 16.41 MB, free: 6.457 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.001473/0.001473, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.742/2.742, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 71.88 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152/1.154, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003219/1.157, allocations: 1.209 MB / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003512/1.157, allocations: 55.83 kB / 1.21 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/1.157, allocations: 7.938 kB / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.951e-05/1.157, allocations: 0 / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/1.158, allocations: 7.969 kB / 1.21 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/1.158, allocations: 11.94 kB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/1.158, allocations: 15.92 kB / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.413e-05/1.158, allocations: 4 kB / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.432e-05/1.158, allocations: 7.984 kB / 1.21 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.43e-05/1.158, allocations: 8.734 kB / 1.21 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/1.158, allocations: 0 / 1.21 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.664e-05/1.158, allocations: 8 kB / 1.21 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/1.158, allocations: 56.38 kB / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.253e-05/1.158, allocations: 31.75 kB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/1.159, allocations: 81.33 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/1.159, allocations: 0 / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.485e-06/1.159, allocations: 0 / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.215e-05/1.159, allocations: 0 / 1.21 GB, free: 12.15 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.0005743/1.159, allocations: 422.8 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/1.159, allocations: 12.03 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/1.159, allocations: 96.03 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/1.16, allocations: 259.5 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-05/1.16, allocations: 154.7 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/1.16, allocations: 150.6 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.753e-05/1.16, allocations: 108.9 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/1.16, allocations: 75.28 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.24e-05/1.16, allocations: 154.6 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-05/1.16, allocations: 150.6 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.996e-05/1.16, allocations: 150.6 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/1.161, allocations: 497.7 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.33e-05/1.161, allocations: 177 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/1.161, allocations: 92.17 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/1.161, allocations: 75.28 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.685e-05/1.161, allocations: 109.8 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/1.161, allocations: 4 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001128/1.161, allocations: 37.52 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/1.161, allocations: 134.6 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/1.161, allocations: 234.9 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/1.161, allocations: 25.7 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/1.161, allocations: 108 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-06/1.161, allocations: 3.938 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/1.162, allocations: 37.69 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.162, allocations: 326.8 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.841e-05/1.162, allocations: 63.91 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/1.162, allocations: 55.95 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/1.162, allocations: 134.7 kB / 1.214 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.162, allocations: 0 / 1.214 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003625/1.162, allocations: 177.4 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.162, allocations: 4 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.162, allocations: 0 / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/1.162, allocations: 0 / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/1.163, allocations: 0 / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/1.163, allocations: 7.984 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/1.163, allocations: 19.8 kB / 1.214 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/1.163, allocations: 8 kB / 1.214 GB, free: 7.934 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.0001356/1.163, allocations: 209 kB / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/1.163, allocations: 112.8 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.238e-05/1.163, allocations: 113.5 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-05/1.163, allocations: 180.2 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000104/1.163, allocations: 184.3 kB / 1.215 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.339e-05/1.163, allocations: 180.2 kB / 1.215 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/1.163, allocations: 445.1 kB / 1.215 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.184e-05/1.163, allocations: 104.9 kB / 1.215 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.841e-05/1.164, allocations: 105 kB / 1.215 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.874e-05/1.164, allocations: 176.3 kB / 1.215 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.692e-05/1.164, allocations: 188.2 kB / 1.216 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.946e-05/1.164, allocations: 180.3 kB / 1.216 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-05/1.164, allocations: 188.2 kB / 1.216 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/1.164, allocations: 315.5 kB / 1.216 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/1.164, allocations: 197.9 kB / 1.216 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.482e-05/1.164, allocations: 184.2 kB / 1.217 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.928e-05/1.164, allocations: 105.2 kB / 1.217 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/1.164, allocations: 176.3 kB / 1.217 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/1.164, allocations: 105 kB / 1.217 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001302/1.165, allocations: 160.6 kB / 1.217 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.165, allocations: 4 kB / 1.217 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000257/1.165, allocations: 23.94 kB / 1.217 GB, free: 4.156 MB / 0.9356 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.0001859/1.165, allocations: 170.5 kB / 1.217 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001601/1.165, allocations: 87.91 kB / 1.217 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.165, allocations: 0 / 1.217 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-06/1.165, allocations: 0 / 1.217 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/1.166, allocations: 467.7 kB / 1.218 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/1.166, allocations: 335.7 kB / 1.218 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/1.166, allocations: 0.708 MB / 1.219 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/1.167, allocations: 11.42 kB / 1.219 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of SimCode: time 6.52e-07/1.167, allocations: 4 kB / 1.219 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.003462/1.17, allocations: 1.114 MB / 1.22 GB, free: 1.207 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