Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 111.5 kB / 18.88 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002698/0.002698, allocations: 191.5 kB / 22.17 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.88 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8222/0.8242, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002814/0.827, allocations: 1.499 MB / 1.275 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007423/0.8277, allocations: 448.5 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.8278, allocations: 4 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.46e-05/0.8278, allocations: 11.92 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.636e-05/0.8279, allocations: 3.938 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.828, allocations: 19.98 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.432e-05/0.8281, allocations: 55.83 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.8282, allocations: 11.98 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.304e-05/0.8282, allocations: 19.94 kB / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.403e-05/0.8283, allocations: 23.91 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.8283, allocations: 4 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.8283, allocations: 4 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.8284, allocations: 11.92 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.8284, allocations: 23.92 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.8285, allocations: 54.42 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8285, allocations: 0 / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8285, allocations: 0 / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.8285, allocations: 0 / 1.276 GB, free: 2.336 MB / 0.9669 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.0005635/0.8291, allocations: 363.3 kB / 1.277 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.8291, allocations: 12.03 kB / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.8292, allocations: 0.9375 kB / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.8293, allocations: 172.3 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.8293, allocations: 8.375 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.8293, allocations: 4.375 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.8295, allocations: 65.91 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.8295, allocations: 0 / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.8295, allocations: 4 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.8295, allocations: 4 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.216e-05/0.8296, allocations: 19.98 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.8301, allocations: 312.7 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.8302, allocations: 46.56 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.8302, allocations: 24.95 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.8302, allocations: 0 / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.8304, allocations: 83.3 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.8304, allocations: 0 / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002218/0.8306, allocations: 101.6 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.8307, allocations: 55.41 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.58e-05/0.8308, allocations: 105.8 kB / 1.277 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.8308, allocations: 33.7 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.8308, allocations: 88.08 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.8309, allocations: 15.86 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.8309, allocations: 29.7 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.8311, allocations: 326.7 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.501e-05/0.8311, allocations: 19.98 kB / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.66e-05/0.8311, allocations: 43.42 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.394e-05/0.8312, allocations: 63.38 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8312, allocations: 0 / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001465/0.8314, allocations: 101.6 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.8314, allocations: 8.031 kB / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.8314, allocations: 4 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.8314, allocations: 4 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.8315, allocations: 11.98 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.8315, allocations: 0 / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.8316, allocations: 8.078 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.8316, allocations: 4 kB / 1.278 GB, free: 15.98 MB / 0.9825 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 9.912e-05/0.8317, allocations: 131.5 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.8317, allocations: 15.94 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.8317, allocations: 7.969 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8317, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8317, allocations: 4 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.8317, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.8322, allocations: 358.7 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8322, allocations: 0 / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.8322, allocations: 11.98 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.8322, allocations: 0 / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.8322, allocations: 4 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.8322, allocations: 7.938 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8322, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.8324, allocations: 183.4 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.8324, allocations: 77.11 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.8325, allocations: 0 / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.783e-05/0.8325, allocations: 11.92 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.8326, allocations: 11.94 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.8326, allocations: 8 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.5e-05/0.8326, allocations: 83.27 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8326, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000235/0.8329, allocations: 19.95 kB / 1.279 GB, free: 14.97 MB / 0.9825 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 0.000103/0.833, allocations: 99.72 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.8331, allocations: 55.91 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.8331, allocations: 0 / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.058e-05/0.8332, allocations: 20.06 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.8335, allocations: 24.08 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.8338, allocations: 153.6 kB / 1.279 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.8341, allocations: 0.6846 MB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.74e-05/0.8342, allocations: 7.938 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.8342, allocations: 11.44 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.8342, allocations: 0 / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of Templates: time 0.00336/0.8375, allocations: 0.8108 MB / 1.281 GB, free: 13.05 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",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[2520]=0.000400 " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.761439875233918]