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.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.001741/0.001741, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002394/0.002394, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.736/2.736, allocations: 476.7 MB / 0.7707 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_11_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.001982/0.001982, allocations: 69.72 kB / 1.117 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3242, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002649/0.3269, allocations: 1.529 MB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008049/0.3277, allocations: 476.6 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.3277, allocations: 0 / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.3277, allocations: 3.938 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.878e-05/0.3278, allocations: 11.92 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.3279, allocations: 19.92 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.328, allocations: 67.77 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3282, allocations: 8 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.489e-05/0.3282, allocations: 19.92 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.638e-05/0.3283, allocations: 19.92 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.3283, allocations: 4 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.3283, allocations: 4 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/0.3284, allocations: 11.98 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.3284, allocations: 27.84 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.3285, allocations: 39.41 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3286, allocations: 0 / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3286, allocations: 3.938 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.3286, allocations: 4 kB / 1.286 GB, free: 9.484 MB / 0.9825 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.0006149/0.3292, allocations: 286.2 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3292, allocations: 8.031 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.342e-05/0.3293, allocations: 42.69 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.3293, allocations: 4.891 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.3295, allocations: 110.5 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.3295, allocations: 8.375 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.3295, allocations: 4.375 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.3296, allocations: 61.8 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3296, allocations: 3.938 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3296, allocations: 4 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3297, allocations: 0 / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.119e-05/0.3297, allocations: 23.98 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.3303, allocations: 271.8 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3304, allocations: 66.56 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.739e-05/0.3305, allocations: 20.91 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.3305, allocations: 0 / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.3306, allocations: 67.39 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.3306, allocations: 0 / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002545/0.3309, allocations: 101.6 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.331, allocations: 67.34 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.331, allocations: 105.8 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.3311, allocations: 25.7 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.3311, allocations: 92.03 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.3312, allocations: 19.89 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.3312, allocations: 25.72 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3314, allocations: 322.8 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/0.3314, allocations: 16 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.269e-05/0.3315, allocations: 51.36 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.546e-05/0.3316, allocations: 67.53 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.3316, allocations: 8 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000154/0.3317, allocations: 97.56 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3318, allocations: 6.031 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.3318, allocations: 4.031 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.3318, allocations: 4 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.172e-05/0.3319, allocations: 11.94 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.3319, allocations: 0 / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.406e-05/0.3319, allocations: 11.94 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.3319, allocations: 11.94 kB / 1.287 GB, free: 7.277 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 0.0001059/0.332, allocations: 113.8 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.3321, allocations: 4 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.3321, allocations: 8.062 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.3321, allocations: 8.375 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3321, allocations: 0 / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3321, allocations: 3.984 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.3326, allocations: 341.3 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3326, allocations: 0 / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.589e-05/0.3326, allocations: 4 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3326, allocations: 0 / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3326, allocations: 4 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3326, allocations: 3.938 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3326, allocations: 4 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.3328, allocations: 179.5 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.3328, allocations: 3.953 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.3328, allocations: 8 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.3329, allocations: 11.92 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.3329, allocations: 3.984 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.333, allocations: 4 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.931e-05/0.333, allocations: 87.28 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.333, allocations: 0 / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002348/0.3332, allocations: 16 kB / 1.288 GB, free: 6.406 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.0004936/0.3337, allocations: 0.7165 MB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.3339, allocations: 64.12 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3339, allocations: 3.938 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.132e-05/0.3339, allocations: 23.94 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.3342, allocations: 14.3 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.3356, allocations: 1.366 MB / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.3359, allocations: 0.6846 MB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.503e-05/0.3359, allocations: 7.984 kB / 1.291 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.336, allocations: 19.44 kB / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.336, allocations: 0 / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.3625, allocations: 1.916 MB / 1.293 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.19, allocations: 1.5 kB / 1.293 GB, free: 1.594 MB / 0.9825 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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[2518]=0.000400 Error: Could not read variable offTim1.u in file Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv. Warning: Get data of variable offTim1.u from file Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv failed! Error: Could not read variable offTim2.u in file Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv. Warning: Get data of variable offTim2.u from file Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.744503779000297]