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) 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.1.0-maint.11.x/package.mo", uses=false) 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=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_11_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_11_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.007182/0.007182, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.001611/0.001611, allocations: 197.4 kB / 16.68 MB, free: 5.969 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.802/2.802, allocations: 469.8 MB / 0.7425 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 71.89 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.4714, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002627/0.474, allocations: 1.208 MB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000297/0.4743, allocations: 67.69 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.4743, allocations: 0 / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.512e-05/0.4744, allocations: 0 / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.4745, allocations: 1.844 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.4747, allocations: 15.91 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.865e-05/0.4748, allocations: 16 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.119e-05/0.4748, allocations: 4 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.981e-05/0.4749, allocations: 11.92 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.118e-05/0.4749, allocations: 8.734 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.4749, allocations: 0 / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.014e-05/0.475, allocations: 8 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.4751, allocations: 52.38 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.4752, allocations: 35.69 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.4753, allocations: 79.58 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4753, allocations: 4 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4753, allocations: 0 / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.4754, allocations: 0 / 1.222 GB, free: 12.33 MB / 0.9825 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.0005788/0.4759, allocations: 430.6 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.476, allocations: 12.03 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/0.4761, allocations: 92.12 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.4763, allocations: 271.4 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-05/0.4764, allocations: 158.7 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.878e-05/0.4764, allocations: 150.6 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.607e-05/0.4765, allocations: 112.9 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.4765, allocations: 75.28 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.678e-05/0.4766, allocations: 154.5 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.708e-05/0.4767, allocations: 150.6 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.278e-05/0.4768, allocations: 158.5 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.4772, allocations: 497.8 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.4775, allocations: 173 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.459e-05/0.4776, allocations: 80.14 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.4776, allocations: 83.28 kB / 1.225 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.4777, allocations: 105.8 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.4777, allocations: 0 / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001992/0.4779, allocations: 41.61 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.4779, allocations: 130.7 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.4782, allocations: 230.9 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.4782, allocations: 25.7 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/0.4786, allocations: 124 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-06/0.4786, allocations: 0 / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.4786, allocations: 33.7 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002583/0.4789, allocations: 326.8 kB / 1.225 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.4791, allocations: 63.89 kB / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.094e-05/0.4792, allocations: 51.97 kB / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.4794, allocations: 139.8 kB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4794, allocations: 0 / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004647/0.4799, allocations: 173.5 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4799, allocations: 5.719 kB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.4799, allocations: 0 / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4799, allocations: 0 / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/0.4799, allocations: 3.938 kB / 1.226 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.4799, allocations: 4 kB / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.48, allocations: 11.84 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.48, allocations: 11.98 kB / 1.226 GB, free: 8.105 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.0002934/0.4803, allocations: 201.6 kB / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.4805, allocations: 124.9 kB / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.92e-05/0.4806, allocations: 109.5 kB / 1.226 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-05/0.4807, allocations: 180.2 kB / 1.227 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.502e-05/0.4808, allocations: 176.3 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-05/0.4809, allocations: 192.1 kB / 1.227 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.4812, allocations: 445.2 kB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.586e-05/0.4812, allocations: 104.9 kB / 1.227 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.4813, allocations: 109 kB / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001076/0.4814, allocations: 176.3 kB / 1.228 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-05/0.4815, allocations: 180.4 kB / 1.228 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.339e-05/0.4816, allocations: 176.3 kB / 1.228 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.303e-05/0.4816, allocations: 196.2 kB / 1.228 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.4818, allocations: 315.7 kB / 1.229 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.4819, allocations: 193.9 kB / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.482, allocations: 188.2 kB / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.4822, allocations: 108.9 kB / 1.229 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-05/0.4823, allocations: 180.2 kB / 1.229 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-05/0.4823, allocations: 101 kB / 1.229 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001428/0.4824, allocations: 151.2 kB / 1.229 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4824, allocations: 0 / 1.229 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002977/0.4827, allocations: 23.94 kB / 1.229 GB, free: 4.328 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.0002744/0.483, allocations: 178.5 kB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.4832, allocations: 71.89 kB / 1.23 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4832, allocations: 0 / 1.23 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.4832, allocations: 0 / 1.23 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.4837, allocations: 455.7 kB / 1.23 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006605/0.4844, allocations: 305.9 kB / 1.23 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.4849, allocations: 0.7119 MB / 1.231 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.537e-05/0.485, allocations: 11.92 kB / 1.231 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.4852, allocations: 15.42 kB / 1.231 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of SimCode: time 1.232e-06/0.4852, allocations: 0 / 1.231 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of Templates: time 0.003806/0.489, allocations: 0.7384 MB / 1.232 GB, free: 1.789 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches