Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 225.6 MB / 249.4 MB, free: 3.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 443.4 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,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_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 63.89 kB / 1.059 GB, free: 448 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4521/0.4541, allocations: 160.7 MB / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.00267/0.4568, allocations: 1.218 MB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000311/0.4571, allocations: 63.75 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.4572, allocations: 0 / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.08e-05/0.4572, allocations: 0 / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.4573, allocations: 7.984 kB / 1.217 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.4575, allocations: 15.92 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.4576, allocations: 15.98 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.039e-05/0.4577, allocations: 0 / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.205e-05/0.4577, allocations: 15.81 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.4578, allocations: 12.72 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.4578, allocations: 4 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.74e-05/0.4579, allocations: 4 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.458, allocations: 48.44 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.458, allocations: 43.69 kB / 1.218 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.4582, allocations: 71.53 kB / 1.218 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4582, allocations: 4 kB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4582, allocations: 0 / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.4582, allocations: 0 / 1.218 GB, free: 13.86 MB / 0.9669 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.0005822/0.4588, allocations: 430.6 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.4589, allocations: 8.031 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.077e-05/0.4589, allocations: 92.12 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.4592, allocations: 275.4 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.039e-05/0.4593, allocations: 158.7 kB / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.536e-05/0.4593, allocations: 154.6 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.58e-05/0.4594, allocations: 104.9 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/0.4595, allocations: 75.28 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.448e-05/0.4595, allocations: 150.6 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.989e-05/0.4596, allocations: 154.6 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.222e-05/0.4597, allocations: 154.6 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.4601, allocations: 493.8 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.4602, allocations: 173 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.4603, allocations: 88.14 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.4603, allocations: 75.28 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.201e-05/0.4604, allocations: 109.8 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.4604, allocations: 0 / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001104/0.4605, allocations: 37.61 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/0.4606, allocations: 126.7 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.4609, allocations: 227.1 kB / 1.221 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.4609, allocations: 29.7 kB / 1.221 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.654e-05/0.461, allocations: 112.1 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-06/0.461, allocations: 3.938 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.987e-05/0.4611, allocations: 45.62 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4612, allocations: 326.8 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-05/0.4613, allocations: 55.91 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.797e-05/0.4614, allocations: 59.95 kB / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.4616, allocations: 135.6 kB / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4616, allocations: 4.031 kB / 1.221 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003519/0.4619, allocations: 173.5 kB / 1.221 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4619, allocations: 8 kB / 1.221 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.462, allocations: 0 / 1.221 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.462, allocations: 3.938 kB / 1.221 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/0.462, allocations: 0 / 1.221 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.462, allocations: 3.938 kB / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.041e-05/0.462, allocations: 19.78 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.4621, allocations: 4 kB / 1.221 GB, free: 9.641 MB / 0.9669 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.0001591/0.4622, allocations: 209.1 kB / 1.222 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.603e-05/0.4623, allocations: 112.9 kB / 1.222 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.4624, allocations: 118.5 kB / 1.222 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.918e-05/0.4625, allocations: 184.2 kB / 1.222 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.565e-05/0.4626, allocations: 180.3 kB / 1.222 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.838e-05/0.4626, allocations: 184.2 kB / 1.222 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.463, allocations: 449.1 kB / 1.223 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.317e-05/0.4631, allocations: 101 kB / 1.223 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.835e-05/0.4631, allocations: 104.9 kB / 1.223 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.865e-05/0.4632, allocations: 176.3 kB / 1.223 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.765e-05/0.4633, allocations: 184.4 kB / 1.223 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.208e-05/0.4634, allocations: 184.3 kB / 1.224 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.763e-05/0.4635, allocations: 188.2 kB / 1.224 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.4637, allocations: 315.7 kB / 1.224 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.4638, allocations: 197.9 kB / 1.224 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.4639, allocations: 180.3 kB / 1.224 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.464, allocations: 105 kB / 1.224 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.4642, allocations: 180.2 kB / 1.225 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-05/0.4642, allocations: 109 kB / 1.225 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001469/0.4644, allocations: 156.6 kB / 1.225 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4644, allocations: 0 / 1.225 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002733/0.4646, allocations: 16 kB / 1.225 GB, free: 5.859 MB / 0.9669 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.0002176/0.4649, allocations: 182.5 kB / 1.225 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.465, allocations: 67.83 kB / 1.225 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.465, allocations: 0 / 1.225 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.465, allocations: 0 / 1.225 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.4655, allocations: 459.7 kB / 1.226 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.466, allocations: 314 kB / 1.226 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.4664, allocations: 0.7041 MB / 1.227 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.023e-05/0.4664, allocations: 11.98 kB / 1.227 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.4665, allocations: 11.44 kB / 1.227 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.4665, allocations: 0 / 1.227 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of Templates: time 0.003937/0.4704, allocations: 0.7422 MB / 1.227 GB, free: 3.316 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.197834169492126]