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.001341/0.001341, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001739/0.001739, allocations: 212.2 kB / 22.24 MB, free: 5.258 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.1/3.1, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_12_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.002054/0.002054, allocations: 66.3 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3221, allocations: 176.1 MB / 1.325 GB, free: 2.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002796/0.3249, allocations: 1.503 MB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008761/0.3257, allocations: 446.9 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.3258, allocations: 4 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.3258, allocations: 3.938 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/0.3259, allocations: 7.922 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.326, allocations: 27.91 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.331e-05/0.3261, allocations: 47.91 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.3262, allocations: 8 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.379e-05/0.3263, allocations: 23.92 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.3263, allocations: 15.92 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.3264, allocations: 7.938 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.3264, allocations: 8 kB / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.3264, allocations: 19.91 kB / 1.327 GB, free: 232 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.3265, allocations: 19.92 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.3266, allocations: 44.05 kB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3266, allocations: 0 / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3266, allocations: 0 / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3266, allocations: 0 / 1.327 GB, free: 168 kB / 1.014 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.0005175/0.3271, allocations: 290.1 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3271, allocations: 8.031 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.3272, allocations: 38.73 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.3272, allocations: 16.83 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.3273, allocations: 106.5 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.3273, allocations: 12.31 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.3273, allocations: 4.375 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.3275, allocations: 57.8 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3275, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3275, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3275, allocations: 4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.993e-05/0.3275, allocations: 23.98 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.328, allocations: 271.8 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.3281, allocations: 50.56 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.3282, allocations: 20.95 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.3282, allocations: 0 / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.3284, allocations: 79.41 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.3284, allocations: 0 / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0002428/0.3286, allocations: 101.6 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.3287, allocations: 55.41 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.344e-05/0.3288, allocations: 105.8 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3288, allocations: 25.7 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.3288, allocations: 96.09 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.3289, allocations: 27.78 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.3289, allocations: 33.7 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3291, allocations: 319.2 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.689e-05/0.3291, allocations: 19.98 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.983e-05/0.3292, allocations: 47.3 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.498e-05/0.3293, allocations: 67.61 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3293, allocations: 3.938 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001496/0.3294, allocations: 97.55 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3294, allocations: 8.031 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3294, allocations: 4 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3295, allocations: 0 / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.3295, allocations: 12.05 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.3295, allocations: 7.984 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.3296, allocations: 7.953 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.3296, allocations: 11.94 kB / 1.329 GB, free: 13.95 MB / 1.029 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.0001083/0.3297, allocations: 128 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-06/0.3297, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.3298, allocations: 8.062 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3298, allocations: 8 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3298, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3298, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.3302, allocations: 329.4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3302, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.602e-05/0.3302, allocations: 4 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3302, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3302, allocations: 3.984 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3302, allocations: 3.938 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3302, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.3304, allocations: 183.5 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.3304, allocations: 7.938 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.3304, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/0.3305, allocations: 7.938 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.3306, allocations: 11.92 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.3306, allocations: 4 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.3306, allocations: 87.45 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3306, allocations: 0 / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002266/0.3309, allocations: 19.88 kB / 1.33 GB, free: 13.08 MB / 1.029 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.0004635/0.3313, allocations: 0.7204 MB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.3315, allocations: 48.02 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3315, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.306e-05/0.3315, allocations: 27.92 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.3318, allocations: 17.94 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.3331, allocations: 1.354 MB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.434e-05/0.3331, allocations: 71.33 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.703e-05/0.3332, allocations: 8.062 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.3332, allocations: 23.42 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3332, allocations: 0 / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.3602, allocations: 2.336 MB / 1.334 GB, free: 8.484 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.44, allocations: 2.75 kB / 1.334 GB, free: 8.484 MB / 1.029 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv. Warning: Get data of variable offTim1.u from file Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv failed! Error: Could not read variable offTim2.u in file Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv. Warning: Get data of variable offTim2.u from file Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.961065868847072]