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.001415/0.001415, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001583/0.001583, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.651/1.651, allocations: 230.6 MB / 256 MB, free: 7.789 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.468/3.468, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.002151/0.002151, allocations: 73.73 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4817/0.4838, allocations: 176.1 MB / 1.326 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002773/0.4866, allocations: 1.228 MB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003071/0.4869, allocations: 56.17 kB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.28e-05/0.4869, allocations: 7.938 kB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.326e-05/0.487, allocations: 0 / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.4871, allocations: 0 / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.4873, allocations: 23.91 kB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.035e-05/0.4874, allocations: 12 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.987e-05/0.4874, allocations: 7.922 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.307e-05/0.4875, allocations: 4 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.049e-05/0.4875, allocations: 12.72 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.4875, allocations: 0 / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/0.4876, allocations: 8 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.4877, allocations: 56.38 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.4878, allocations: 31.81 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.4879, allocations: 71.53 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.488, allocations: 0 / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/0.488, allocations: 3.938 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.488, allocations: 0 / 1.327 GB, free: 0.4922 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.0005553/0.4885, allocations: 362.9 kB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4886, allocations: 8.031 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.825e-05/0.4886, allocations: 92.12 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.4889, allocations: 210.3 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.505e-05/0.489, allocations: 154.7 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.55e-05/0.4891, allocations: 154.6 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.281e-05/0.4892, allocations: 104.9 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/0.4892, allocations: 75.28 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.521e-05/0.4893, allocations: 154.6 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-05/0.4893, allocations: 154.6 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.648e-05/0.4894, allocations: 150.6 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.4898, allocations: 445.5 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.4899, allocations: 173.1 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.4899, allocations: 84.08 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.49, allocations: 83.28 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.44e-05/0.49, allocations: 105.8 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.49, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001013/0.4901, allocations: 41.59 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.975e-05/0.4902, allocations: 130.6 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.4905, allocations: 239 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.4905, allocations: 29.64 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.4906, allocations: 116.1 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.4906, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.4907, allocations: 33.7 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4909, allocations: 326.8 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.479e-05/0.491, allocations: 63.95 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-05/0.491, allocations: 59.89 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.4912, allocations: 135.2 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4912, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003754/0.4916, allocations: 175.3 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4916, allocations: 7.938 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.4916, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.4917, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.596e-06/0.4917, allocations: 3.984 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4917, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.267e-05/0.4917, allocations: 23.84 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.4917, allocations: 8 kB / 1.331 GB, free: 12.49 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.0001638/0.4919, allocations: 205.6 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.192e-05/0.492, allocations: 112.9 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.035e-05/0.4921, allocations: 117.4 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.512e-05/0.4921, allocations: 180.2 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001037/0.4922, allocations: 184.2 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.387e-05/0.4923, allocations: 180.2 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.4926, allocations: 388.8 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.609e-05/0.4927, allocations: 105 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.107e-05/0.4927, allocations: 113 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.672e-05/0.4928, allocations: 184.3 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-05/0.4929, allocations: 180.2 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-05/0.493, allocations: 176.3 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.703e-05/0.4931, allocations: 184.2 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.4932, allocations: 316 kB / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/0.4933, allocations: 116.8 kB / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.4934, allocations: 180.3 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.4935, allocations: 108.9 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.4936, allocations: 180.2 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/0.4937, allocations: 109 kB / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001557/0.4938, allocations: 168.5 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4938, allocations: 0 / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002658/0.4941, allocations: 20 kB / 1.334 GB, free: 8.867 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.000215/0.4943, allocations: 174.5 kB / 1.334 GB, free: 8.684 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.4945, allocations: 59.95 kB / 1.334 GB, free: 8.625 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.4945, allocations: 4 kB / 1.334 GB, free: 8.621 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.4945, allocations: 0 / 1.334 GB, free: 8.621 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.495, allocations: 459.6 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.4955, allocations: 302.1 kB / 1.335 GB, free: 7.844 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.4956, allocations: 96.59 kB / 1.335 GB, free: 7.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.255e-05/0.4956, allocations: 11.98 kB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.4956, allocations: 11.42 kB / 1.335 GB, free: 7.707 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4956, allocations: 4 kB / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of Templates: time 0.003793/0.4994, allocations: 0.8293 MB / 1.336 GB, free: 6.871 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.023428289219737]