Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001184/0.001184, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001583/0.002767, allocations: 449.7 kB / 10.37 MB, free: 328 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.001075/0.001075, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002435, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9714/0.9714, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1036/1.075, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.874/1.874, allocations: 378.2 MB / 0.6076 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5151/2.389, allocations: 123.3 MB / 0.728 GB, free: 5.773 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7293 GB, free: 4.496 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.751e-05, allocations: 3.344 kB / 0.7293 GB, free: 4.492 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00287/0.002897, allocations: 1.585 MB / 0.7309 GB, free: 2.918 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007391/0.003636, allocations: 480.7 kB / 0.7313 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.003673, allocations: 0.9375 kB / 0.7313 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.003701, allocations: 3.938 kB / 0.7313 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.003758, allocations: 16.52 kB / 0.7313 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.135e-05/0.003849, allocations: 23.91 kB / 0.7314 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.703e-05/0.003946, allocations: 44.97 kB / 0.7314 GB, free: 2.375 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.004049, allocations: 16.75 kB / 0.7314 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.004154, allocations: 38.75 kB / 0.7315 GB, free: 2.324 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.115e-05/0.004235, allocations: 17.5 kB / 0.7315 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.004262, allocations: 5.531 kB / 0.7315 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.004272, allocations: 4 kB / 0.7315 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.004291, allocations: 6.328 kB / 0.7315 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.004326, allocations: 17.25 kB / 0.7315 GB, free: 2.281 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.055e-05/0.004416, allocations: 29.67 kB / 0.7315 GB, free: 2.254 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-05/0.004434, allocations: 4 kB / 0.7315 GB, free: 2.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004434, allocations: 0 / 0.7315 GB, free: 2.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.00445, allocations: 0 / 0.7315 GB, free: 2.25 MB / 0.698 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.0004123/0.004863, allocations: 265.5 kB / 0.7318 GB, free: 1.969 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.004893, allocations: 12.03 kB / 0.7318 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.004923, allocations: 13.7 kB / 0.7318 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.214e-05/0.005005, allocations: 109.7 kB / 0.7319 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.005016, allocations: 1.25 kB / 0.7319 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.005027, allocations: 12.38 kB / 0.7319 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.919e-05/0.005106, allocations: 46.23 kB / 0.732 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.005114, allocations: 1.062 kB / 0.732 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.005121, allocations: 384 / 0.732 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.005128, allocations: 8.688 kB / 0.732 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.843e-05/0.005156, allocations: 19.86 kB / 0.732 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.005486, allocations: 178.6 kB / 0.7322 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.579e-05/0.005552, allocations: 34.56 kB / 0.7322 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.005572, allocations: 20.84 kB / 0.7322 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.005578, allocations: 0 / 0.7322 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.867e-05/0.005677, allocations: 72.03 kB / 0.7323 GB, free: 1.387 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.005678, allocations: 0 / 0.7323 GB, free: 1.387 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0001183/0.005797, allocations: 70.42 kB / 0.7324 GB, free: 1.312 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.005835, allocations: 55.41 kB / 0.7324 GB, free: 1.246 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.191e-05/0.005887, allocations: 111.8 kB / 0.7325 GB, free: 1.125 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.0059, allocations: 33.7 kB / 0.7326 GB, free: 1.086 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.005928, allocations: 84.12 kB / 0.7326 GB, free: 1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.005949, allocations: 20.56 kB / 0.7327 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.005983, allocations: 33.69 kB / 0.7327 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.006058, allocations: 319.4 kB / 0.733 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.006068, allocations: 4 kB / 0.733 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.724e-05/0.006096, allocations: 36.45 kB / 0.733 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/0.006141, allocations: 60 kB / 0.7331 GB, free: 0.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.006143, allocations: 0 / 0.7331 GB, free: 0.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 6.736e-05/0.00621, allocations: 83.27 kB / 0.7332 GB, free: 424 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.006222, allocations: 7.938 kB / 0.7332 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.006227, allocations: 4 kB / 0.7332 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.006236, allocations: 0 / 0.7332 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.006297, allocations: 21.2 kB / 0.7332 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.0063, allocations: 0 / 0.7332 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.006331, allocations: 8 kB / 0.7332 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.006336, allocations: 5.781 kB / 0.7332 GB, free: 380 kB / 0.698 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.858e-05/0.006395, allocations: 121.7 kB / 0.7333 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.006404, allocations: 11.92 kB / 0.7333 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.006426, allocations: 8.125 kB / 0.7334 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.006427, allocations: 0.75 kB / 0.7334 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.006429, allocations: 0 / 0.7334 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.006432, allocations: 0.5625 kB / 0.7334 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.006627, allocations: 227.5 kB / 0.7336 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.00663, allocations: 3.938 kB / 0.7336 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/0.006645, allocations: 13.38 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-06/0.00665, allocations: 0 / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.006652, allocations: 3.984 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-06/0.006656, allocations: 0 / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006656, allocations: 4.812 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006657, allocations: 0 / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.276e-05/0.00673, allocations: 156.3 kB / 0.7337 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.006739, allocations: 4 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.406e-05/0.006773, allocations: 4 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.006802, allocations: 8.797 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.006806, allocations: 0 / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.15e-05/0.006817, allocations: 13.47 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006817, allocations: 0.625 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001266/0.006944, allocations: 19.95 kB / 0.7338 GB, free: 15.73 MB / 0.7136 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.966e-05/0.007014, allocations: 84.42 kB / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.638e-05/0.00709, allocations: 50.28 kB / 0.7339 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.007095, allocations: 4 kB / 0.7339 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.912e-05/0.007124, allocations: 24.78 kB / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.00726, allocations: 22.91 kB / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.007602, allocations: 153.1 kB / 0.7341 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.007637, allocations: 67.28 kB / 0.7342 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.967e-05/0.007657, allocations: 4 kB / 0.7342 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.007704, allocations: 59.36 kB / 0.7342 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of SimCode: time 6.31e-07/0.007705, allocations: 0 / 0.7342 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of Templates: time 0.002187/0.009892, allocations: 0.8645 MB / 0.7351 GB, free: 14.4 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[511]=0.000000 File[2514]=0.000000 " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.994252199307084]