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.001358/0.001358, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00147/0.00147, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.333/3.333, allocations: 0.49 GB / 0.7958 GB, free: 33.39 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.002038/0.002038, allocations: 67.98 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4755/0.4775, allocations: 176.1 MB / 1.327 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002525/0.48, allocations: 1.236 MB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002581/0.4803, allocations: 60.16 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.4803, allocations: 4 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.4804, allocations: 3.938 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.4805, allocations: 3.984 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.4806, allocations: 15.92 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.626e-05/0.4807, allocations: 16 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.4807, allocations: 3.984 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.576e-05/0.4808, allocations: 7.984 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.4808, allocations: 12.62 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.4808, allocations: 0 / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.771e-05/0.4809, allocations: 11.98 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.45e-05/0.481, allocations: 48.45 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.4811, allocations: 39.69 kB / 1.329 GB, free: 60 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.4812, allocations: 75.72 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4812, allocations: 4 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4812, allocations: 0 / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4812, allocations: 3.938 kB / 1.329 GB, free: 15.97 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.0004853/0.4817, allocations: 357.5 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.4818, allocations: 8.031 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.4819, allocations: 96.12 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.4821, allocations: 206.4 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/0.4822, allocations: 154.7 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.4823, allocations: 154.5 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.613e-05/0.4824, allocations: 104.9 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.4825, allocations: 75.28 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/0.4826, allocations: 154.6 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.677e-05/0.4826, allocations: 154.6 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.807e-05/0.4827, allocations: 150.6 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.4831, allocations: 460.9 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.4832, allocations: 189 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.4833, allocations: 80.14 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.4833, allocations: 75.28 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/0.4834, allocations: 109.8 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.4834, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001217/0.4835, allocations: 41.59 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.4836, allocations: 134.7 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.4838, allocations: 235 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.4838, allocations: 25.7 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.684e-05/0.4839, allocations: 108.1 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/0.4839, allocations: 0 / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.484, allocations: 41.64 kB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4841, allocations: 322.8 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.165e-05/0.4842, allocations: 63.89 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.471e-05/0.4843, allocations: 61.27 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.4845, allocations: 134.6 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4845, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003497/0.4848, allocations: 183.5 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4849, allocations: 4 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4849, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.4849, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.4849, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4849, allocations: 7.922 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.192e-05/0.485, allocations: 31.78 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.485, allocations: 4 kB / 1.332 GB, free: 11.93 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.0001553/0.4851, allocations: 205.6 kB / 1.333 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/0.4852, allocations: 112.9 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/0.4853, allocations: 109.5 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.291e-05/0.4854, allocations: 188.2 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-05/0.4855, allocations: 184.2 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001285/0.4856, allocations: 180.2 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.486, allocations: 408.2 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.742e-05/0.486, allocations: 105 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.4861, allocations: 108.9 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.836e-05/0.4861, allocations: 180.3 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-05/0.4862, allocations: 188.2 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.988e-05/0.4863, allocations: 176.3 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001295/0.4865, allocations: 176.3 kB / 1.335 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.4866, allocations: 319.9 kB / 1.335 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.693e-05/0.4867, allocations: 120.8 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.917e-05/0.4868, allocations: 184.3 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.4869, allocations: 105 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.487, allocations: 180.2 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.329e-05/0.4871, allocations: 101 kB / 1.336 GB, free: 8.473 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001481/0.4872, allocations: 156.6 kB / 1.336 GB, free: 8.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4872, allocations: 4 kB / 1.336 GB, free: 8.316 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000275/0.4875, allocations: 20 kB / 1.336 GB, free: 8.297 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.0001981/0.4877, allocations: 178.5 kB / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.4878, allocations: 67.83 kB / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4878, allocations: 0 / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.4878, allocations: 0 / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.4883, allocations: 463.8 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.4888, allocations: 327.8 kB / 1.337 GB, free: 7.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.4893, allocations: 0.708 MB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.4893, allocations: 7.438 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.4893, allocations: 4 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of Templates: time 0.00307/0.4923, allocations: 1.133 MB / 1.339 GB, free: 5.348 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 -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: 11.824595725018298]