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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001396/0.001396, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.00149/0.00149, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.37/1.37, 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.0-master/package.mo): time 2.528/2.528, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 70.77 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4313, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002888/0.4342, allocations: 1.212 MB / 1.028 GB, free: 0.832 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003458/0.4346, allocations: 62.25 kB / 1.028 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.4347, allocations: 0 / 1.028 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.4347, allocations: 4 kB / 1.028 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.4349, allocations: 11.94 kB / 1.028 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.4352, allocations: 7.984 kB / 1.028 GB, free: 0.75 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.4353, allocations: 15.92 kB / 1.028 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.253e-05/0.4354, allocations: 4 kB / 1.028 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.996e-05/0.4354, allocations: 11.92 kB / 1.028 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.603e-05/0.4355, allocations: 4.75 kB / 1.028 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.4356, allocations: 4 kB / 1.028 GB, free: 0.707 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.4357, allocations: 4 kB / 1.028 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.4358, allocations: 60.36 kB / 1.028 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.4359, allocations: 39.69 kB / 1.028 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.4361, allocations: 79.58 kB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.4361, allocations: 3.938 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.196e-06/0.4361, allocations: 0 / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.4361, allocations: 0 / 1.028 GB, free: 0.5234 MB / 0.795 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.0006743/0.4368, allocations: 422.8 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/0.4369, allocations: 8.031 kB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.437, allocations: 88.12 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.4373, allocations: 267.3 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.125e-05/0.4374, allocations: 154.7 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.913e-05/0.4375, allocations: 150.6 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.4376, allocations: 101 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/0.4377, allocations: 79.28 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.057e-05/0.4378, allocations: 154.6 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.485e-05/0.4378, allocations: 154.5 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.4379, allocations: 162.5 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.4383, allocations: 493.7 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.4385, allocations: 177.1 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.4385, allocations: 80.14 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.4386, allocations: 75.28 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.134e-05/0.4386, allocations: 109.8 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.4386, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001247/0.4388, allocations: 37.52 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.952e-05/0.4389, allocations: 138.7 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.4392, allocations: 227.7 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.4392, allocations: 25.7 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.483e-05/0.4393, allocations: 108.1 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.999e-06/0.4394, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.85e-05/0.4394, allocations: 41.69 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.4396, allocations: 326.8 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.4397, allocations: 63.83 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.66e-05/0.4398, allocations: 59.97 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.4401, allocations: 139.7 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4401, allocations: 0 / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004281/0.4405, allocations: 173.4 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.4405, allocations: 8 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.4406, allocations: 3.984 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.4406, allocations: 0 / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.083e-06/0.4406, allocations: 0 / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.4406, allocations: 0 / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.72e-05/0.4407, allocations: 19.69 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.4407, allocations: 15.98 kB / 1.032 GB, free: 12.31 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.0001569/0.4409, allocations: 205 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.308e-05/0.441, allocations: 120.7 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.386e-05/0.441, allocations: 113.5 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.239e-05/0.4411, allocations: 180.2 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.829e-05/0.4412, allocations: 180.3 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.589e-05/0.4413, allocations: 184.2 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.4416, allocations: 441.1 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.103e-05/0.4417, allocations: 109 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.4417, allocations: 108.9 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.587e-05/0.4418, allocations: 180.2 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.443e-05/0.4419, allocations: 184.3 kB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.258e-05/0.442, allocations: 180.2 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.167e-05/0.4421, allocations: 176.3 kB / 1.034 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.4422, allocations: 319.8 kB / 1.035 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.4423, allocations: 189.9 kB / 1.035 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.4425, allocations: 188.2 kB / 1.035 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.4426, allocations: 101 kB / 1.035 GB, free: 9.012 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.615e-05/0.4427, allocations: 192.2 kB / 1.035 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.4427, allocations: 101 kB / 1.035 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001563/0.4429, allocations: 152.7 kB / 1.036 GB, free: 8.562 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4429, allocations: 0 / 1.036 GB, free: 8.562 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000293/0.4432, allocations: 20 kB / 1.036 GB, free: 8.543 MB / 0.8106 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.0002333/0.4434, allocations: 182.5 kB / 1.036 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.4436, allocations: 79.84 kB / 1.036 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4437, allocations: 3.938 kB / 1.036 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.532e-06/0.4437, allocations: 7.984 kB / 1.036 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.4441, allocations: 459.8 kB / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005906/0.4447, allocations: 290.3 kB / 1.037 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.4451, allocations: 0.708 MB / 1.037 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.607e-05/0.4452, allocations: 8 kB / 1.037 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.4452, allocations: 11.42 kB / 1.037 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.4452, allocations: 4 kB / 1.037 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of Templates: time 0.004124/0.4493, allocations: 0.7305 MB / 1.038 GB, free: 6.012 MB / 0.8106 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 -s gbode -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