Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001751/0.001751, allocations: 99.64 kB / 18.95 MB, free: 2.836 MB / 14.72 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.00212/0.00212, allocations: 214.5 kB / 22.24 MB, free: 5.102 MB / 14.72 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.254/3.254, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 73.94 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3616, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003025/0.3646, allocations: 1.506 MB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009306/0.3656, allocations: 452 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.3656, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.3656, allocations: 3.938 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.595e-05/0.3657, allocations: 7.938 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.3659, allocations: 27.91 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.879e-05/0.366, allocations: 47.91 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3661, allocations: 11.98 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.714e-05/0.3662, allocations: 23.92 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.599e-05/0.3662, allocations: 11.92 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.3663, allocations: 7.938 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.3663, allocations: 8 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.3663, allocations: 19.92 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.3663, allocations: 19.92 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.3665, allocations: 40.09 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3665, allocations: 4 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3665, allocations: 3.938 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.3665, allocations: 0 / 1.365 GB, free: 11.89 MB / 1.061 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.0005349/0.367, allocations: 282.2 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.367, allocations: 12.03 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.992e-05/0.3671, allocations: 34.75 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.3671, allocations: 8.938 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.3673, allocations: 114.5 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.3673, allocations: 8.312 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.3673, allocations: 4.375 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.3674, allocations: 57.81 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3674, allocations: 3.938 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3674, allocations: 0 / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3674, allocations: 0 / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.958e-05/0.3675, allocations: 31.97 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.368, allocations: 267.8 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.3681, allocations: 50.56 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.608e-05/0.3682, allocations: 24.94 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.3682, allocations: 0 / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.3684, allocations: 75.41 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.3684, allocations: 0 / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0002453/0.3686, allocations: 101.6 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.3687, allocations: 55.41 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.907e-05/0.3688, allocations: 109.8 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3688, allocations: 29.7 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/0.3689, allocations: 88.14 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.3689, allocations: 27.78 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.3689, allocations: 29.72 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3691, allocations: 318.8 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.04e-05/0.3691, allocations: 20 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.366e-05/0.3692, allocations: 47.3 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.3693, allocations: 71.59 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3693, allocations: 0 / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001575/0.3694, allocations: 105.5 kB / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3695, allocations: 8.031 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.3695, allocations: 0 / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3695, allocations: 4 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.776e-05/0.3695, allocations: 8 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3695, allocations: 384 / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.3696, allocations: 7.984 kB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.3696, allocations: 7.938 kB / 1.367 GB, free: 9.699 MB / 1.061 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 0.0001004/0.3697, allocations: 122.9 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.3697, allocations: 11.89 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.3698, allocations: 12.06 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.3698, allocations: 7.984 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3698, allocations: 0 / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3698, allocations: 0 / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.3702, allocations: 325.5 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3702, allocations: 0 / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.785e-05/0.3703, allocations: 4 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3703, allocations: 0 / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.3703, allocations: 4 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3703, allocations: 3.938 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3703, allocations: 0 / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.3705, allocations: 187.4 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.3705, allocations: 4 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.3705, allocations: 0 / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.3706, allocations: 15.92 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.3706, allocations: 11.92 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.3706, allocations: 4 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.832e-05/0.3707, allocations: 83.28 kB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3707, allocations: 0 / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000234/0.3709, allocations: 11.95 kB / 1.368 GB, free: 8.824 MB / 1.061 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.0004814/0.3714, allocations: 0.7269 MB / 1.369 GB, free: 8.074 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.3716, allocations: 55.84 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3716, allocations: 4 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.827e-05/0.3716, allocations: 27.92 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.3719, allocations: 7.938 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.3732, allocations: 1.359 MB / 1.37 GB, free: 6.527 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.835e-05/0.3733, allocations: 71.25 kB / 1.37 GB, free: 6.438 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.184e-05/0.3733, allocations: 12.05 kB / 1.37 GB, free: 6.426 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.3734, allocations: 19.44 kB / 1.37 GB, free: 6.406 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.3734, allocations: 0 / 1.37 GB, free: 6.406 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.4029, allocations: 2.33 MB / 1.373 GB, free: 4.219 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.5, allocations: 13.89 kB / 1.373 GB, free: 4.207 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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[2518]=0.000400 Error: Could not read variable offTim1.u in file Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv. Warning: Get data of variable offTim1.u from file Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv failed! Error: Could not read variable offTim2.u in file Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv. Warning: Get data of variable offTim2.u from file Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.347715808078647]