Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002041/0.002041, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.00222/0.00222, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.57/1.57, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.998/2.998, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.375e-05, allocations: 6.25 kB / 0.7863 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.00258/0.002613, allocations: 1.238 MB / 0.7876 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002458/0.002859, allocations: 60.66 kB / 0.7876 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.002891, allocations: 0 / 0.7876 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.429e-05/0.002935, allocations: 3.984 kB / 0.7876 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.003044, allocations: 5.016 kB / 0.7876 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.0032, allocations: 15.92 kB / 0.7876 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.055e-05/0.00328, allocations: 11.94 kB / 0.7877 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.003318, allocations: 9.234 kB / 0.7877 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.388e-05/0.003382, allocations: 7.984 kB / 0.7877 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.003445, allocations: 8.688 kB / 0.7877 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.003461, allocations: 1.594 kB / 0.7877 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.444e-05/0.003546, allocations: 11.98 kB / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.003652, allocations: 49.47 kB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.003699, allocations: 23.94 kB / 0.7878 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.003994, allocations: 71.62 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.003997, allocations: 0.625 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003998, allocations: 1.406 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.004004, allocations: 0 / 0.7878 GB, free: 11.31 MB / 0.7448 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.0006007/0.004605, allocations: 451.5 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.00465, allocations: 16.02 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.004769, allocations: 137.2 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.004997, allocations: 247.6 kB / 0.7886 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.005155, allocations: 246.7 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.00531, allocations: 243.8 kB / 0.7891 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.00542, allocations: 149 kB / 0.7893 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.647e-05/0.005486, allocations: 119.2 kB / 0.7894 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.005616, allocations: 239.6 kB / 0.7896 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/0.005743, allocations: 242.4 kB / 0.7898 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.005874, allocations: 238.4 kB / 0.7901 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.00638, allocations: 0.6272 MB / 0.7907 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.00656, allocations: 270 kB / 0.7909 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/0.006633, allocations: 128.5 kB / 0.791 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.584e-05/0.006699, allocations: 119.2 kB / 0.7912 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.162e-05/0.00679, allocations: 156.6 kB / 0.7913 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.006791, allocations: 0 / 0.7913 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.000103/0.006894, allocations: 46.67 kB / 0.7914 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.006999, allocations: 170.6 kB / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.007317, allocations: 277.8 kB / 0.7918 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.007339, allocations: 27.3 kB / 0.7918 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.007463, allocations: 158.8 kB / 0.792 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.007465, allocations: 0 / 0.792 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.007538, allocations: 47.34 kB / 0.792 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002825/0.007821, allocations: 0.504 MB / 0.7925 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.326e-05/0.007864, allocations: 13.44 kB / 0.7925 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.007902, allocations: 12 kB / 0.7925 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.008014, allocations: 60.92 kB / 0.7926 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.008017, allocations: 2.812 kB / 0.7926 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002789/0.008295, allocations: 115.8 kB / 0.7927 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.008311, allocations: 4 kB / 0.7927 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.008318, allocations: 4 kB / 0.7927 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.008333, allocations: 0 / 0.7927 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.008334, allocations: 0 / 0.7927 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.008338, allocations: 0 / 0.7927 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.008389, allocations: 23.72 kB / 0.7927 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.008413, allocations: 8.516 kB / 0.7927 GB, free: 6.09 MB / 0.7448 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.0001807/0.008594, allocations: 276.5 kB / 0.793 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.008703, allocations: 164.7 kB / 0.7931 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.008816, allocations: 165.9 kB / 0.7933 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001431/0.008959, allocations: 269.4 kB / 0.7936 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001574/0.009116, allocations: 268 kB / 0.7938 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000137/0.009253, allocations: 268.1 kB / 0.7941 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.00963, allocations: 0.5272 MB / 0.7946 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.262e-05/0.009713, allocations: 153.3 kB / 0.7947 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.717e-05/0.00979, allocations: 146.3 kB / 0.7949 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003029/0.01009, allocations: 272 kB / 0.7951 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001456/0.01024, allocations: 268 kB / 0.7954 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001398/0.01038, allocations: 264.1 kB / 0.7956 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001479/0.01053, allocations: 281.2 kB / 0.7959 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.0108, allocations: 451.9 kB / 0.7963 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.855e-05/0.01089, allocations: 156.8 kB / 0.7965 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.01106, allocations: 273.2 kB / 0.7968 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.01119, allocations: 152.8 kB / 0.7969 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.01133, allocations: 272.1 kB / 0.7972 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.793e-05/0.01141, allocations: 150.6 kB / 0.7973 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001521/0.01156, allocations: 180.5 kB / 0.7975 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01156, allocations: 0 / 0.7975 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002382/0.0118, allocations: 16 kB / 0.7975 GB, free: 1.023 MB / 0.7448 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.0002674/0.01207, allocations: 231.2 kB / 0.7977 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.0122, allocations: 35.67 kB / 0.7977 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.0122, allocations: 0 / 0.7977 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.0122, allocations: 0 / 0.7977 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.01279, allocations: 0.715 MB / 0.7984 GB, free: 40 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/0.0133, allocations: 333.5 kB / 0.7988 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.01341, allocations: 92.8 kB / 0.7988 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.314e-05/0.01343, allocations: 7.984 kB / 0.7989 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.01346, allocations: 12.5 kB / 0.7989 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of SimCode: time 4.2e-07/0.01347, allocations: 0 / 0.7989 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of Templates: time 0.003781/0.01725, allocations: 0.735 MB / 0.7996 GB, free: 14.84 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.286547792959027]