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.00164/0.00164, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002069/0.002069, allocations: 211.6 kB / 22.25 MB, free: 5.086 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 8.027 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.095/3.095, allocations: 0.505 GB / 0.8101 GB, free: 22.1 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.002033/0.002033, allocations: 67.08 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3252, allocations: 180.2 MB / 1.353 GB, free: 8.523 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002645/0.3278, allocations: 1.517 MB / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0008131/0.3286, allocations: 478.8 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.3287, allocations: 0 / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.913e-05/0.3287, allocations: 7.938 kB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.442e-05/0.3288, allocations: 11.92 kB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.3289, allocations: 27.91 kB / 1.355 GB, free: 6.477 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.955e-05/0.329, allocations: 47.86 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.3291, allocations: 11.98 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.454e-05/0.3292, allocations: 27.91 kB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.991e-05/0.3292, allocations: 19.86 kB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.3292, allocations: 4 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.3293, allocations: 8 kB / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.3293, allocations: 11.98 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.3293, allocations: 23.88 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.3294, allocations: 48.08 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3294, allocations: 4 kB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3294, allocations: 0 / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3294, allocations: 0 / 1.355 GB, free: 6.273 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.0004761/0.3299, allocations: 290.1 kB / 1.355 GB, free: 5.961 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3299, allocations: 12.03 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.4e-05/0.33, allocations: 30.75 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.33, allocations: 8.875 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.3301, allocations: 122.5 kB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3301, allocations: 384 / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.3302, allocations: 8.375 kB / 1.355 GB, free: 5.75 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.3303, allocations: 61.8 kB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3303, allocations: 0 / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3303, allocations: 3.938 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3303, allocations: 0 / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.325e-05/0.3304, allocations: 31.91 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.3308, allocations: 267.9 kB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.3309, allocations: 54.59 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.331, allocations: 16.95 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.331, allocations: 4 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.3312, allocations: 79.33 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.3312, allocations: 0 / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0002231/0.3314, allocations: 97.61 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.3314, allocations: 51.41 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.3315, allocations: 117.7 kB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3315, allocations: 25.7 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.3316, allocations: 92.5 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.3316, allocations: 23.8 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.3317, allocations: 29.7 kB / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3318, allocations: 326.8 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.3318, allocations: 19.94 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.521e-05/0.3319, allocations: 43.42 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.022e-05/0.332, allocations: 67.36 kB / 1.357 GB, free: 4.215 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.332, allocations: 0 / 1.357 GB, free: 4.215 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001427/0.3321, allocations: 97.58 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3322, allocations: 8 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3322, allocations: 0 / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3322, allocations: 3.984 kB / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/0.3322, allocations: 15.94 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3322, allocations: 4 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.3323, allocations: 7.984 kB / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.3323, allocations: 7.938 kB / 1.357 GB, free: 4.066 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.102e-05/0.3324, allocations: 126 kB / 1.357 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.3324, allocations: 7.984 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.3325, allocations: 8.062 kB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3325, allocations: 0 / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3325, allocations: 0 / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3325, allocations: 0 / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.3329, allocations: 341.4 kB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3329, allocations: 0 / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.3329, allocations: 7.984 kB / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3329, allocations: 4 kB / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.3329, allocations: 0 / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3329, allocations: 3.938 kB / 1.357 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3329, allocations: 0 / 1.357 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.3331, allocations: 183.4 kB / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.868e-06/0.3331, allocations: 4 kB / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.3331, allocations: 0 / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.58e-05/0.3332, allocations: 12.11 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.3332, allocations: 15.98 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.3332, allocations: 3.938 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.513e-05/0.3333, allocations: 83.28 kB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3333, allocations: 0 / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002264/0.3335, allocations: 12 kB / 1.358 GB, free: 3.195 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.000451/0.334, allocations: 0.7178 MB / 1.358 GB, free: 2.453 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.3341, allocations: 51.91 kB / 1.358 GB, free: 2.402 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3341, allocations: 0 / 1.358 GB, free: 2.402 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.088e-05/0.3341, allocations: 27.92 kB / 1.359 GB, free: 2.375 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.3344, allocations: 17.3 kB / 1.359 GB, free: 2.359 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.3357, allocations: 1.364 MB / 1.36 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.336, allocations: 0.6884 MB / 1.361 GB, free: 188 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.837e-05/0.336, allocations: 7.984 kB / 1.361 GB, free: 180 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.336, allocations: 15.44 kB / 1.361 GB, free: 164 kB / 1.045 GB Notification: Performance of SimCode: time 3.81e-07/0.336, allocations: 0 / 1.361 GB, free: 164 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.3641, allocations: 1.915 MB / 1.362 GB, free: 14.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.96, allocations: 13.19 kB / 1.362 GB, free: 14.37 MB / 1.061 GB " [Timeout remaining time 289] (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: 17.59236537400011]