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.001623/0.001623, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001922/0.001922, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.429/1.429, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.175/3.175, allocations: 0.505 GB / 0.8066 GB, free: 23.06 MB / 0.6231 GB " [Timeout remaining time 177] 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.002789/0.002789, allocations: 68.81 kB / 1.172 GB, free: 17.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3645, allocations: 180.2 MB / 1.348 GB, free: 9.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002932/0.3674, allocations: 1.5 MB / 1.349 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009017/0.3683, allocations: 486.8 kB / 1.35 GB, free: 8 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.928e-05/0.3684, allocations: 0 / 1.35 GB, free: 8 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.3684, allocations: 3.938 kB / 1.35 GB, free: 7.996 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.308e-05/0.3685, allocations: 7.922 kB / 1.35 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.3686, allocations: 27.91 kB / 1.35 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.3688, allocations: 47.86 kB / 1.35 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3689, allocations: 11.98 kB / 1.35 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.869e-05/0.3689, allocations: 27.84 kB / 1.35 GB, free: 7.875 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/0.369, allocations: 27.92 kB / 1.35 GB, free: 7.848 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.369, allocations: 4 kB / 1.35 GB, free: 7.844 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.369, allocations: 4 kB / 1.35 GB, free: 7.84 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.369, allocations: 7.984 kB / 1.35 GB, free: 7.832 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.425e-05/0.3691, allocations: 23.88 kB / 1.35 GB, free: 7.809 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.3692, allocations: 48.08 kB / 1.35 GB, free: 7.762 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3692, allocations: 0 / 1.35 GB, free: 7.762 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3692, allocations: 0 / 1.35 GB, free: 7.762 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.3692, allocations: 0 / 1.35 GB, free: 7.762 MB / 1.045 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.000558/0.3698, allocations: 367.3 kB / 1.35 GB, free: 7.355 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3698, allocations: 15.98 kB / 1.35 GB, free: 7.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.3699, allocations: 34.75 kB / 1.35 GB, free: 7.297 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.3699, allocations: 4.938 kB / 1.35 GB, free: 7.293 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.3701, allocations: 176.3 kB / 1.35 GB, free: 7.082 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.3701, allocations: 4.375 kB / 1.35 GB, free: 7.078 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.3701, allocations: 8.312 kB / 1.35 GB, free: 7.07 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.3702, allocations: 65.73 kB / 1.351 GB, free: 7 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3702, allocations: 0 / 1.351 GB, free: 7 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.3702, allocations: 0 / 1.351 GB, free: 7 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3702, allocations: 4 kB / 1.351 GB, free: 6.996 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.3703, allocations: 31.92 kB / 1.351 GB, free: 6.965 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005057/0.3708, allocations: 292.8 kB / 1.351 GB, free: 6.629 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.3709, allocations: 54.59 kB / 1.351 GB, free: 6.566 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.739e-05/0.371, allocations: 20.94 kB / 1.351 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.371, allocations: 8 kB / 1.351 GB, free: 6.535 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.3712, allocations: 71.34 kB / 1.351 GB, free: 6.453 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.3712, allocations: 0 / 1.351 GB, free: 6.453 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0002338/0.3714, allocations: 97.61 kB / 1.351 GB, free: 6.352 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.3715, allocations: 55.41 kB / 1.351 GB, free: 6.285 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.695e-05/0.3716, allocations: 105.8 kB / 1.351 GB, free: 6.172 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3716, allocations: 25.7 kB / 1.351 GB, free: 6.141 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.3717, allocations: 100.1 kB / 1.351 GB, free: 6.039 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.3717, allocations: 27.78 kB / 1.351 GB, free: 6.012 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.3717, allocations: 25.72 kB / 1.351 GB, free: 5.98 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3719, allocations: 318.8 kB / 1.352 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/0.3719, allocations: 27.92 kB / 1.352 GB, free: 5.633 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.294e-05/0.372, allocations: 35.44 kB / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.453e-05/0.3721, allocations: 71.36 kB / 1.352 GB, free: 5.504 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3721, allocations: 384 / 1.352 GB, free: 5.504 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001462/0.3722, allocations: 93.89 kB / 1.352 GB, free: 5.406 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3722, allocations: 8 kB / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3723, allocations: 0 / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3723, allocations: 3.938 kB / 1.352 GB, free: 5.395 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.3723, allocations: 8.062 kB / 1.352 GB, free: 5.387 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3723, allocations: 15.88 kB / 1.352 GB, free: 5.371 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.3724, allocations: 15.97 kB / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3724, allocations: 15.92 kB / 1.352 GB, free: 5.34 MB / 1.045 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.138e-05/0.3725, allocations: 113.8 kB / 1.352 GB, free: 5.219 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.3725, allocations: 4 kB / 1.352 GB, free: 5.215 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.3726, allocations: 11.95 kB / 1.352 GB, free: 5.195 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3726, allocations: 0 / 1.352 GB, free: 5.195 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3726, allocations: 0 / 1.352 GB, free: 5.195 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3726, allocations: 0 / 1.352 GB, free: 5.195 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004597/0.373, allocations: 362.3 kB / 1.352 GB, free: 4.785 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.373, allocations: 4 kB / 1.352 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-05/0.3731, allocations: 3.938 kB / 1.352 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3731, allocations: 4 kB / 1.352 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.3731, allocations: 0 / 1.352 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3731, allocations: 3.938 kB / 1.352 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3731, allocations: 0 / 1.352 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.3733, allocations: 187.4 kB / 1.353 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.3733, allocations: 81.11 kB / 1.353 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.3733, allocations: 3.984 kB / 1.353 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.669e-05/0.3734, allocations: 11.94 kB / 1.353 GB, free: 4.457 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.3735, allocations: 7.984 kB / 1.353 GB, free: 4.449 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.3735, allocations: 0 / 1.353 GB, free: 4.449 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.13e-05/0.3735, allocations: 83.28 kB / 1.353 GB, free: 4.367 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3735, allocations: 0 / 1.353 GB, free: 4.367 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002263/0.3737, allocations: 12 kB / 1.353 GB, free: 4.355 MB / 1.045 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.000493/0.3742, allocations: 0.7281 MB / 1.354 GB, free: 3.602 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.3744, allocations: 43.92 kB / 1.354 GB, free: 3.559 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3744, allocations: 4 kB / 1.354 GB, free: 3.555 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.847e-05/0.3744, allocations: 31.91 kB / 1.354 GB, free: 3.523 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.3747, allocations: 12 kB / 1.354 GB, free: 3.512 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.3761, allocations: 1.366 MB / 1.355 GB, free: 2.051 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.3764, allocations: 0.6845 MB / 1.356 GB, free: 1.34 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.388e-05/0.3764, allocations: 11.92 kB / 1.356 GB, free: 1.328 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.3765, allocations: 23.44 kB / 1.356 GB, free: 1.305 MB / 1.045 GB Notification: Performance of SimCode: time 5.91e-07/0.3765, allocations: 0 / 1.356 GB, free: 1.305 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.027/0.4035, allocations: 1.773 MB / 1.357 GB, free: 15.65 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/8.764, allocations: 9.5 kB / 1.357 GB, free: 15.64 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.390613111900166]