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.001205/0.001205, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001336/0.001336, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.9014/0.9014, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.727/1.727, allocations: 377.9 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] 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.403e-06/1.403e-06, allocations: 0 / 0.9822 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.879e-05, allocations: 8.953 kB / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001638/0.001667, allocations: 1.239 MB / 0.9834 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002247/0.001891, allocations: 47.78 kB / 0.9834 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.001923, allocations: 0 / 0.9834 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.634e-05/0.00196, allocations: 0 / 0.9834 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.002087, allocations: 15.92 kB / 0.9834 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.002261, allocations: 11.92 kB / 0.9835 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.173e-05/0.002343, allocations: 19.92 kB / 0.9835 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.002382, allocations: 0 / 0.9835 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.892e-05/0.002431, allocations: 11.98 kB / 0.9835 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.917e-05/0.00249, allocations: 8.734 kB / 0.9835 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.002511, allocations: 4 kB / 0.9835 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.807e-05/0.002589, allocations: 4 kB / 0.9835 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 8.907e-05/0.002678, allocations: 56.39 kB / 0.9836 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.002705, allocations: 19.94 kB / 0.9836 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.002827, allocations: 71.66 kB / 0.9836 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.002828, allocations: 0 / 0.9836 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002829, allocations: 0 / 0.9836 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.002835, allocations: 3.984 kB / 0.9836 GB, free: 0.5977 MB / 0.9323 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.0003417/0.003177, allocations: 345.6 kB / 0.984 GB, free: 236 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.003217, allocations: 12.03 kB / 0.984 GB, free: 224 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.003275, allocations: 88.12 kB / 0.9841 GB, free: 136 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.003408, allocations: 213.6 kB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.003453, allocations: 154.9 kB / 0.9844 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.003502, allocations: 150.9 kB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.985e-05/0.003562, allocations: 109 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.003584, allocations: 79.28 kB / 0.9847 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.003624, allocations: 150.6 kB / 0.9849 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/0.003662, allocations: 154.6 kB / 0.985 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.107e-05/0.003703, allocations: 150.6 kB / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.003939, allocations: 453.3 kB / 0.9856 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.225e-05/0.004012, allocations: 169.1 kB / 0.9858 GB, free: 14.31 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.004038, allocations: 80.14 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.004062, allocations: 79.28 kB / 0.9859 GB, free: 14.15 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.004097, allocations: 113.8 kB / 0.986 GB, free: 14.03 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.004098, allocations: 0 / 0.986 GB, free: 14.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 6.979e-05/0.004168, allocations: 45.55 kB / 0.9861 GB, free: 13.98 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.004218, allocations: 126.7 kB / 0.9862 GB, free: 13.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.004403, allocations: 227.2 kB / 0.9864 GB, free: 13.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.004416, allocations: 25.7 kB / 0.9864 GB, free: 13.58 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.004475, allocations: 112.1 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.004477, allocations: 3.938 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.004517, allocations: 37.69 kB / 0.9866 GB, free: 13.42 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.004609, allocations: 326.8 kB / 0.9869 GB, free: 13.09 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.004673, allocations: 55.97 kB / 0.9869 GB, free: 13.04 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.283e-05/0.004726, allocations: 61.64 kB / 0.987 GB, free: 12.98 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.004954, allocations: 137.3 kB / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.004957, allocations: 8.031 kB / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000232/0.005189, allocations: 174.2 kB / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.005204, allocations: 6.5 kB / 0.9873 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.005211, allocations: 0 / 0.9873 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.005225, allocations: 0 / 0.9873 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/0.005226, allocations: 0 / 0.9873 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.005233, allocations: 3.938 kB / 0.9873 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.005262, allocations: 19.78 kB / 0.9873 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.005277, allocations: 4 kB / 0.9873 GB, free: 12.62 MB / 0.948 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 9.198e-05/0.005369, allocations: 205.1 kB / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.005415, allocations: 128.9 kB / 0.9877 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.005454, allocations: 113.5 kB / 0.9878 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.5e-05/0.005499, allocations: 180.2 kB / 0.9879 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-05/0.005547, allocations: 180.3 kB / 0.9881 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.626e-05/0.005593, allocations: 184.2 kB / 0.9883 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.005749, allocations: 388.8 kB / 0.9887 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/0.005774, allocations: 101.1 kB / 0.9888 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.005802, allocations: 108.9 kB / 0.9889 GB, free: 10.97 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.245e-05/0.005845, allocations: 180.3 kB / 0.989 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/0.005892, allocations: 188.1 kB / 0.9892 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.305e-05/0.005935, allocations: 176.3 kB / 0.9894 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.64e-05/0.005982, allocations: 192.2 kB / 0.9896 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.006086, allocations: 311.7 kB / 0.9899 GB, free: 9.891 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.006125, allocations: 116.8 kB / 0.99 GB, free: 9.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.006182, allocations: 184.2 kB / 0.9901 GB, free: 9.582 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.542e-05/0.006237, allocations: 109 kB / 0.9903 GB, free: 9.469 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.006287, allocations: 184.2 kB / 0.9904 GB, free: 9.281 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.006315, allocations: 101 kB / 0.9905 GB, free: 9.176 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.513e-05/0.00641, allocations: 160.6 kB / 0.9907 GB, free: 9.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.00641, allocations: 3.938 kB / 0.9907 GB, free: 9.016 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000164/0.006574, allocations: 20 kB / 0.9907 GB, free: 8.996 MB / 0.948 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.0001427/0.006717, allocations: 178.5 kB / 0.9909 GB, free: 8.812 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.00683, allocations: 63.89 kB / 0.9909 GB, free: 8.75 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.006833, allocations: 4 kB / 0.9909 GB, free: 8.746 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.006834, allocations: 0 / 0.9909 GB, free: 8.746 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.007095, allocations: 459.6 kB / 0.9914 GB, free: 8.293 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.007435, allocations: 327.1 kB / 0.9917 GB, free: 7.941 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.908e-05/0.007504, allocations: 94.86 kB / 0.9918 GB, free: 7.828 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.007529, allocations: 20.47 kB / 0.9918 GB, free: 7.809 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.007529, allocations: 0 / 0.9918 GB, free: 7.809 MB / 0.948 GB Notification: Performance of Templates: time 0.002016/0.009545, allocations: 1.192 MB / 0.993 GB, free: 6.617 MB / 0.948 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: 6.625254331156611]