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.001835/0.001835, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002323/0.002323, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.577/1.577, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 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 3.022/3.022, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 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 2.364e-06/2.364e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.416e-05/3.653e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003051/0.003087, allocations: 1.235 MB / 0.812 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002828/0.00337, allocations: 54.05 kB / 0.812 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.003408, allocations: 0 / 0.812 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.294e-05/0.003461, allocations: 4 kB / 0.812 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.003601, allocations: 7.969 kB / 0.812 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.003788, allocations: 11.92 kB / 0.8121 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.225e-05/0.00388, allocations: 13.28 kB / 0.8121 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.003926, allocations: 8 kB / 0.8121 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.556e-05/0.003992, allocations: 11.97 kB / 0.8121 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.004056, allocations: 4.75 kB / 0.8121 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.004073, allocations: 1.594 kB / 0.8121 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-05/0.004155, allocations: 7.984 kB / 0.8121 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.004269, allocations: 54.16 kB / 0.8122 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.999e-05/0.004319, allocations: 23.88 kB / 0.8122 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.004487, allocations: 75.64 kB / 0.8123 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004489, allocations: 0 / 0.8123 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.022e-06/0.00449, allocations: 0 / 0.8123 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.004495, allocations: 0.8438 kB / 0.8123 GB, free: 0.6211 MB / 0.7605 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.0005484/0.005043, allocations: 345.6 kB / 0.8126 GB, free: 260 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.005096, allocations: 8.562 kB / 0.8126 GB, free: 252 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.005216, allocations: 92.83 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.00549, allocations: 213.6 kB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.005601, allocations: 155.5 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.005718, allocations: 154.9 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.00585, allocations: 110.4 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.079e-05/0.005911, allocations: 75.28 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.006022, allocations: 154.5 kB / 0.8135 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.465e-05/0.006117, allocations: 151.1 kB / 0.8136 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.006228, allocations: 151.9 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.006747, allocations: 449.4 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.006906, allocations: 169.1 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.876e-05/0.006975, allocations: 80.14 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.118e-05/0.007036, allocations: 84.38 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.075e-05/0.007117, allocations: 109.8 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.007118, allocations: 0 / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001313/0.007249, allocations: 46.67 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.007368, allocations: 126.7 kB / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.00769, allocations: 227.1 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.007716, allocations: 30.86 kB / 0.8151 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.007824, allocations: 108.1 kB / 0.8152 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/0.007827, allocations: 0 / 0.8152 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.996e-05/0.007907, allocations: 42.47 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003418/0.008249, allocations: 326.8 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.008362, allocations: 53.25 kB / 0.8156 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.673e-05/0.008449, allocations: 59.89 kB / 0.8156 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.008659, allocations: 142.6 kB / 0.8158 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.008661, allocations: 0 / 0.8158 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004182/0.009079, allocations: 176.7 kB / 0.8159 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.009099, allocations: 10.81 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.009105, allocations: 1.219 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.009125, allocations: 0 / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.009127, allocations: 0 / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.009134, allocations: 1.312 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.165e-05/0.009195, allocations: 15.83 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.009215, allocations: 4 kB / 0.816 GB, free: 12.66 MB / 0.7761 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.0001886/0.009403, allocations: 210.7 kB / 0.8162 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.443e-05/0.009498, allocations: 120.9 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.869e-05/0.009576, allocations: 113.5 kB / 0.8164 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001067/0.009683, allocations: 184.2 kB / 0.8166 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001/0.009783, allocations: 179 kB / 0.8167 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001/0.009883, allocations: 184.2 kB / 0.8169 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.01021, allocations: 392.8 kB / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.981e-05/0.01029, allocations: 105.1 kB / 0.8174 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.01035, allocations: 108.9 kB / 0.8175 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.721e-05/0.01045, allocations: 176.3 kB / 0.8176 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.01056, allocations: 188.1 kB / 0.8178 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000113/0.01067, allocations: 180.8 kB / 0.818 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001002/0.01077, allocations: 180.3 kB / 0.8182 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.01099, allocations: 312.2 kB / 0.8185 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.19e-05/0.01108, allocations: 122.8 kB / 0.8186 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.01123, allocations: 188.2 kB / 0.8188 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.01135, allocations: 108.9 kB / 0.8189 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.01147, allocations: 188.2 kB / 0.819 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.255e-05/0.01153, allocations: 101 kB / 0.8191 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001775/0.01171, allocations: 161.4 kB / 0.8193 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01171, allocations: 0 / 0.8193 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002926/0.012, allocations: 16 kB / 0.8193 GB, free: 9.043 MB / 0.7761 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.000242/0.01224, allocations: 182.3 kB / 0.8195 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.0124, allocations: 63.89 kB / 0.8195 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.0124, allocations: 0 / 0.8195 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.0124, allocations: 0 / 0.8195 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.01291, allocations: 459.7 kB / 0.82 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/0.01347, allocations: 307.2 kB / 0.8203 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.01361, allocations: 96.66 kB / 0.8204 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.28e-05/0.01363, allocations: 7.984 kB / 0.8204 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.01367, allocations: 12.5 kB / 0.8204 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of SimCode: time 8.61e-07/0.01367, allocations: 0 / 0.8204 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of Templates: time 0.003797/0.01747, allocations: 0.7318 MB / 0.8211 GB, free: 7.164 MB / 0.7761 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.163764151977375]