Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 210 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.267/3.267, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 65 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4485, allocations: 176.1 MB / 1.327 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.00281/0.4513, allocations: 1.246 MB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002842/0.4516, allocations: 44.2 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.4516, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.4517, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.4518, allocations: 11.98 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.452, allocations: 15.92 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.167e-05/0.4521, allocations: 15.92 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.539e-05/0.4521, allocations: 4 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.676e-05/0.4521, allocations: 15.92 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.026e-05/0.4522, allocations: 12.73 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.4522, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.976e-05/0.4523, allocations: 4 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.4524, allocations: 48.44 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.888e-05/0.4525, allocations: 31.75 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.4526, allocations: 79.47 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4526, allocations: 0 / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4526, allocations: 0 / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.4526, allocations: 4 kB / 1.329 GB, free: 15.53 MB / 1.029 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.0005247/0.4532, allocations: 357.6 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4532, allocations: 12.03 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.487e-05/0.4533, allocations: 92.12 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.4535, allocations: 206.4 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-05/0.4536, allocations: 154.7 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.302e-05/0.4537, allocations: 150.6 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.292e-05/0.4538, allocations: 104.9 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.707e-05/0.4538, allocations: 79.28 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/0.4539, allocations: 150.6 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.672e-05/0.454, allocations: 150.6 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.634e-05/0.454, allocations: 158.5 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.4544, allocations: 445.5 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.4546, allocations: 181.1 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.387e-05/0.4546, allocations: 84.08 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.156e-05/0.4547, allocations: 79.22 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.452e-05/0.4547, allocations: 105.8 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.4547, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.874e-05/0.4548, allocations: 37.61 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/0.4549, allocations: 130.7 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.4552, allocations: 238.9 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.4552, allocations: 29.7 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.4553, allocations: 108.1 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.4553, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.4554, allocations: 41.69 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4556, allocations: 330.8 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.269e-05/0.4557, allocations: 51.97 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.992e-05/0.4557, allocations: 59.89 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.4559, allocations: 136 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4559, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003261/0.4563, allocations: 177.4 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4563, allocations: 4.062 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4563, allocations: 4 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.4563, allocations: 7.938 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.4563, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.4563, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.4564, allocations: 19.78 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.4564, allocations: 4 kB / 1.332 GB, free: 11.54 MB / 1.029 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.0001603/0.4565, allocations: 209.6 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.279e-05/0.4566, allocations: 112.9 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/0.4567, allocations: 117.4 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-05/0.4568, allocations: 180.3 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.985e-05/0.4569, allocations: 188.3 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.391e-05/0.457, allocations: 180.2 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.4573, allocations: 392.8 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.391e-05/0.4573, allocations: 109 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.4574, allocations: 105 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-05/0.4575, allocations: 176.3 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.4576, allocations: 180.2 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.129e-05/0.4577, allocations: 180.3 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.024e-05/0.4578, allocations: 188.2 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.458, allocations: 308 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.4581, allocations: 124.8 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.4582, allocations: 188.3 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.4583, allocations: 104.9 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.4584, allocations: 176.3 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.399e-05/0.4584, allocations: 105 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001384/0.4586, allocations: 164.5 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4586, allocations: 0 / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002597/0.4588, allocations: 19.94 kB / 1.336 GB, free: 7.918 MB / 1.029 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.0001874/0.459, allocations: 185.1 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.4592, allocations: 67.95 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4592, allocations: 0 / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.4592, allocations: 0 / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.4596, allocations: 463.6 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.4601, allocations: 298.1 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.4602, allocations: 104.5 kB / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.007e-05/0.4602, allocations: 7.984 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.4602, allocations: 15.5 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4602, allocations: 0 / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of Templates: time 0.00359/0.4638, allocations: 0.846 MB / 1.338 GB, free: 5.887 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.589624692991492]