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.001389/0.001389, allocations: 106.6 kB / 16.45 MB, free: 6.453 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.001584/0.001584, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.538/1.538, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.387/3.387, allocations: 0.4899 GB / 0.7915 GB, free: 33.11 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.002571/0.002571, allocations: 73.05 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5958/0.5983, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003032/0.6014, allocations: 1.238 MB / 1.322 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000319/0.6017, allocations: 59.75 kB / 1.322 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.6017, allocations: 4 kB / 1.322 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.88e-05/0.6018, allocations: 4 kB / 1.322 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.6019, allocations: 3.984 kB / 1.322 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.6021, allocations: 11.94 kB / 1.322 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.6022, allocations: 19.97 kB / 1.323 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.566e-05/0.6023, allocations: 4 kB / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.404e-05/0.6024, allocations: 7.938 kB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.456e-05/0.6024, allocations: 12.67 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.6024, allocations: 0 / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.6026, allocations: 8 kB / 1.323 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.6027, allocations: 52.42 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.291e-05/0.6028, allocations: 39.69 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.6029, allocations: 71.59 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.6029, allocations: 0 / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6029, allocations: 0 / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.603, allocations: 0 / 1.323 GB, free: 1.266 MB / 1.014 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.0006341/0.6036, allocations: 440.2 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.6036, allocations: 15.98 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.587e-05/0.6037, allocations: 88.12 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.604, allocations: 271.4 kB / 1.323 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.977e-05/0.6041, allocations: 158.7 kB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-05/0.6042, allocations: 150.6 kB / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.6043, allocations: 104.9 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.013e-05/0.6043, allocations: 79.69 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.079e-05/0.6044, allocations: 154.6 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-05/0.6045, allocations: 150.6 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.139e-05/0.6046, allocations: 150.6 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.605, allocations: 493.9 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.6051, allocations: 181 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.6052, allocations: 80.14 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.6052, allocations: 75.28 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.883e-05/0.6053, allocations: 109.8 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.6053, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001084/0.6054, allocations: 37.61 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.6055, allocations: 134.7 kB / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.6058, allocations: 231 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.6058, allocations: 29.64 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.967e-05/0.6059, allocations: 112.1 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.6059, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/0.606, allocations: 41.67 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.6062, allocations: 326.8 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.6063, allocations: 59.91 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-05/0.6064, allocations: 62.2 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.6066, allocations: 132.8 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6066, allocations: 4 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004078/0.607, allocations: 176.5 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.607, allocations: 5.875 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.607, allocations: 0 / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.607, allocations: 0 / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.677e-06/0.6071, allocations: 3.938 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.6071, allocations: 0 / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.6071, allocations: 23.72 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.6071, allocations: 4.062 kB / 1.327 GB, free: 13.04 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.0001674/0.6073, allocations: 209 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.6074, allocations: 116.9 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.462e-05/0.6075, allocations: 117.5 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001169/0.6076, allocations: 180.2 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001056/0.6077, allocations: 176.3 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001174/0.6078, allocations: 192.1 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.6082, allocations: 445.1 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.768e-05/0.6083, allocations: 101 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.6083, allocations: 104.9 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/0.6085, allocations: 180.3 kB / 1.328 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.6086, allocations: 188.2 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001068/0.6087, allocations: 176.3 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001101/0.6088, allocations: 184.2 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.6091, allocations: 315.9 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.6092, allocations: 194 kB / 1.329 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.6093, allocations: 184.3 kB / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.6095, allocations: 112.9 kB / 1.33 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.6096, allocations: 176.3 kB / 1.33 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.689e-05/0.6097, allocations: 101 kB / 1.33 GB, free: 9.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001801/0.6098, allocations: 156.6 kB / 1.33 GB, free: 9.277 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.6098, allocations: 0 / 1.33 GB, free: 9.277 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003167/0.6102, allocations: 20 kB / 1.33 GB, free: 9.258 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.0002979/0.6105, allocations: 186.4 kB / 1.33 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.6107, allocations: 59.91 kB / 1.33 GB, free: 9.004 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6107, allocations: 0 / 1.33 GB, free: 9.004 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.6107, allocations: 4 kB / 1.33 GB, free: 9 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005779/0.6112, allocations: 459.8 kB / 1.331 GB, free: 8.547 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006676/0.6119, allocations: 294 kB / 1.331 GB, free: 8.234 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.6124, allocations: 0.7118 MB / 1.332 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.114e-05/0.6125, allocations: 7.984 kB / 1.332 GB, free: 7.488 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.6125, allocations: 15.38 kB / 1.332 GB, free: 7.473 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.6125, allocations: 4 kB / 1.332 GB, free: 7.469 MB / 1.029 GB Notification: Performance of Templates: time 0.004577/0.6171, allocations: 0.746 MB / 1.332 GB, free: 6.723 MB / 1.029 GB " [Timeout remaining time 299] 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/jenkins/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: 10.166046963073313]