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.001434/0.001434, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.001874/0.001874, allocations: 163.4 kB / 22.46 MB, free: 5.375 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.534/1.534, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.919/2.919, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.491e-05, allocations: 9.516 kB / 0.9814 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002754/0.002789, allocations: 1.236 MB / 0.9826 GB, free: 9.684 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002596/0.003049, allocations: 47.8 kB / 0.9827 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.003088, allocations: 0 / 0.9827 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.911e-05/0.003137, allocations: 0 / 0.9827 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.003287, allocations: 23.84 kB / 0.9827 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.003472, allocations: 4 kB / 0.9827 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.003573, allocations: 15.92 kB / 0.9827 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.785e-05/0.003631, allocations: 4 kB / 0.9827 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.217e-05/0.003693, allocations: 15.92 kB / 0.9827 GB, free: 9.574 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.262e-05/0.003776, allocations: 8.734 kB / 0.9827 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.003795, allocations: 0 / 0.9827 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.005e-05/0.003885, allocations: 7.938 kB / 0.9827 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.00401, allocations: 60.39 kB / 0.9828 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.004056, allocations: 23.94 kB / 0.9828 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.004224, allocations: 59.72 kB / 0.9829 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.00423, allocations: 4 kB / 0.9829 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004231, allocations: 0 / 0.9829 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.004237, allocations: 0 / 0.9829 GB, free: 9.41 MB / 0.8887 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.0005348/0.004771, allocations: 357.5 kB / 0.9832 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.00482, allocations: 8.031 kB / 0.9832 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.615e-05/0.004906, allocations: 88.12 kB / 0.9833 GB, free: 8.938 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.005133, allocations: 212.8 kB / 0.9835 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.595e-05/0.005229, allocations: 150.9 kB / 0.9837 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.281e-05/0.005312, allocations: 162.9 kB / 0.9838 GB, free: 8.395 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.183e-05/0.005394, allocations: 105.1 kB / 0.9839 GB, free: 8.285 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/0.005431, allocations: 75.28 kB / 0.984 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.011e-05/0.005501, allocations: 154.5 kB / 0.9841 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.205e-05/0.005563, allocations: 150.6 kB / 0.9843 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.265e-05/0.005656, allocations: 154.6 kB / 0.9844 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.006012, allocations: 449.5 kB / 0.9849 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.96e-05/0.006111, allocations: 165.1 kB / 0.985 GB, free: 7.117 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.5e-05/0.006156, allocations: 80.14 kB / 0.9851 GB, free: 7.035 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.006195, allocations: 83.2 kB / 0.9852 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/0.006252, allocations: 117.8 kB / 0.9853 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.006253, allocations: 0 / 0.9853 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 9.819e-05/0.006351, allocations: 37.59 kB / 0.9853 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.006425, allocations: 126.7 kB / 0.9854 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.006716, allocations: 231.1 kB / 0.9857 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.006739, allocations: 25.7 kB / 0.9857 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.00683, allocations: 108.1 kB / 0.9858 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.006833, allocations: 0 / 0.9858 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/0.00689, allocations: 37.7 kB / 0.9858 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.007046, allocations: 330.8 kB / 0.9861 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.882e-05/0.007135, allocations: 51.97 kB / 0.9862 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.341e-05/0.007218, allocations: 67.89 kB / 0.9862 GB, free: 5.777 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.00742, allocations: 134.8 kB / 0.9864 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.007422, allocations: 0 / 0.9864 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003578/0.00778, allocations: 175.7 kB / 0.9865 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.007803, allocations: 11.98 kB / 0.9866 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.007811, allocations: 0 / 0.9866 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.007829, allocations: 0 / 0.9866 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.00783, allocations: 0 / 0.9866 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.007836, allocations: 0 / 0.9866 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.589e-05/0.007902, allocations: 23.77 kB / 0.9866 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.007924, allocations: 4 kB / 0.9866 GB, free: 5.43 MB / 0.8887 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.0001733/0.008098, allocations: 209.2 kB / 0.9868 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.329e-05/0.008191, allocations: 120.8 kB / 0.9869 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.875e-05/0.00827, allocations: 117.5 kB / 0.987 GB, free: 4.973 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001012/0.008371, allocations: 184.2 kB / 0.9872 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.549e-05/0.008466, allocations: 180.2 kB / 0.9874 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.257e-05/0.008549, allocations: 180.3 kB / 0.9875 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.008818, allocations: 384.8 kB / 0.9879 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.643e-05/0.008874, allocations: 113 kB / 0.988 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.008923, allocations: 104.9 kB / 0.9881 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.543e-05/0.008999, allocations: 176.4 kB / 0.9883 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.988e-05/0.009089, allocations: 192.2 kB / 0.9885 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.561e-05/0.009174, allocations: 180.2 kB / 0.9886 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-05/0.009253, allocations: 176.3 kB / 0.9888 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.009472, allocations: 323.6 kB / 0.9891 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.009543, allocations: 120.8 kB / 0.9892 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.009647, allocations: 184.2 kB / 0.9894 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.009747, allocations: 105 kB / 0.9895 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.284e-05/0.00984, allocations: 184.2 kB / 0.9897 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.009895, allocations: 105 kB / 0.9898 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001489/0.01004, allocations: 160.6 kB / 0.9899 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.01004, allocations: 4 kB / 0.9899 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000253/0.0103, allocations: 20 kB / 0.9899 GB, free: 1.801 MB / 0.8887 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.0002016/0.0105, allocations: 174.5 kB / 0.9901 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001553/0.01065, allocations: 63.89 kB / 0.9902 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01066, allocations: 0 / 0.9902 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.01066, allocations: 0 / 0.9902 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.0111, allocations: 461.9 kB / 0.9906 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/0.01158, allocations: 305.4 kB / 0.9909 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.01169, allocations: 96.78 kB / 0.991 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.078e-05/0.01171, allocations: 7.984 kB / 0.991 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.01174, allocations: 12.5 kB / 0.991 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of SimCode: time 4.11e-07/0.01174, allocations: 0 / 0.991 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of Templates: time 0.003613/0.01535, allocations: 0.7056 MB / 0.9917 GB, free: 15.93 MB / 0.9044 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/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: 8.529970977455378]