Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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.00116/0.00116, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001458/0.002617, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001019/0.001019, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.002371, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9439/0.9439, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09859/1.042, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.337/2.337, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.241/2.578, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.8183 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.144e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002016/0.002037, allocations: 1.578 MB / 0.8198 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0005293/0.002566, allocations: 478.6 kB / 0.8203 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.002597, allocations: 8 kB / 0.8203 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.002621, allocations: 3.938 kB / 0.8203 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.422e-05/0.002666, allocations: 0 / 0.8203 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.635e-05/0.002762, allocations: 35.77 kB / 0.8203 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003888/0.003151, allocations: 47.86 kB / 0.8204 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.003234, allocations: 8 kB / 0.8204 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.19e-05/0.003306, allocations: 39.89 kB / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.917e-05/0.003365, allocations: 15.97 kB / 0.8204 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.003385, allocations: 4 kB / 0.8204 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.679e-06/0.003395, allocations: 7.938 kB / 0.8204 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.003412, allocations: 15.94 kB / 0.8204 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.003438, allocations: 8 kB / 0.8205 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.118e-05/0.003519, allocations: 23.92 kB / 0.8205 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.344e-05/0.003532, allocations: 3.984 kB / 0.8205 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003533, allocations: 0 / 0.8205 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.003543, allocations: 0 / 0.8205 GB, free: 0.6445 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003418/0.003885, allocations: 272.5 kB / 0.8207 GB, free: 364 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.003913, allocations: 8.625 kB / 0.8207 GB, free: 356 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.003937, allocations: 8.922 kB / 0.8208 GB, free: 348 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.591e-05/0.004003, allocations: 105.8 kB / 0.8209 GB, free: 216 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.004013, allocations: 12.38 kB / 0.8209 GB, free: 204 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.004022, allocations: 8.312 kB / 0.8209 GB, free: 196 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.178e-05/0.004084, allocations: 50.23 kB / 0.8209 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.00409, allocations: 192 / 0.8209 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.004096, allocations: 384 / 0.8209 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.004101, allocations: 3.938 kB / 0.8209 GB, free: 136 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.394e-05/0.004125, allocations: 11.98 kB / 0.8209 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.004371, allocations: 184.1 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.239e-05/0.004433, allocations: 42.55 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.004452, allocations: 24.84 kB / 0.8212 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.662e-06/0.004459, allocations: 0 / 0.8212 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.317e-05/0.004552, allocations: 67.34 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.004553, allocations: 4 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001116/0.004665, allocations: 69.61 kB / 0.8213 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.004702, allocations: 51.41 kB / 0.8214 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.066e-05/0.004752, allocations: 110.6 kB / 0.8215 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.004766, allocations: 29.7 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.004798, allocations: 92.08 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.004817, allocations: 19.83 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.004849, allocations: 33.72 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.088e-05/0.00492, allocations: 318.8 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.004931, allocations: 8 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.004958, allocations: 39.41 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.557e-05/0.005004, allocations: 47.53 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.005008, allocations: 4 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.147e-05/0.005079, allocations: 77.47 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.00509, allocations: 8 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.005095, allocations: 0 / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.005103, allocations: 8.031 kB / 0.8221 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.708e-05/0.00516, allocations: 12 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.005164, allocations: 3.984 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/0.005197, allocations: 11.94 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.005201, allocations: 4 kB / 0.8222 GB, free: 14.75 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 prepare postOptimizeDAE: time 5.17e-05/0.005253, allocations: 117.8 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.617e-06/0.005261, allocations: 11.92 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.005283, allocations: 8.125 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.005286, allocations: 4 kB / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.005287, allocations: 0 / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.00529, allocations: 4 kB / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.005469, allocations: 226.7 kB / 0.8225 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.005471, allocations: 3.938 kB / 0.8225 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-05/0.005485, allocations: 4 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-06/0.005491, allocations: 4 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.005494, allocations: 4.047 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.005499, allocations: 7.938 kB / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.0055, allocations: 0 / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005501, allocations: 0 / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.605e-05/0.005577, allocations: 159.8 kB / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.005587, allocations: 12 kB / 0.8227 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.414e-05/0.005621, allocations: 0 / 0.8227 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.005646, allocations: 7.984 kB / 0.8227 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.005651, allocations: 0 / 0.8227 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.111e-05/0.005662, allocations: 16.83 kB / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005662, allocations: 0 / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001152/0.005777, allocations: 19.95 kB / 0.8227 GB, free: 14.1 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 6.661e-05/0.005844, allocations: 80.36 kB / 0.8228 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.73e-05/0.005911, allocations: 44.78 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.005916, allocations: 8.062 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.706e-05/0.005943, allocations: 20.84 kB / 0.8229 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.006083, allocations: 24.52 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.006432, allocations: 160.3 kB / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.366e-05/0.006465, allocations: 67.34 kB / 0.8231 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.006492, allocations: 0 / 0.8231 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.006538, allocations: 59.38 kB / 0.8232 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of SimCode: time 5.62e-07/0.006539, allocations: 0 / 0.8232 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of Templates: time 0.02922/0.03576, allocations: 0.8639 MB / 0.824 GB, free: 12.74 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.280744045972824]