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.001736/0.001736, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.00267/0.00267, allocations: 213.1 kB / 22.24 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.773 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.817/2.817, allocations: 476 MB / 0.7699 GB, free: 4.73 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.00209/0.00209, allocations: 71.84 kB / 1.117 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3376, allocations: 169.9 MB / 1.283 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002897/0.3405, allocations: 1.502 MB / 1.284 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008915/0.3414, allocations: 444.3 kB / 1.284 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.3414, allocations: 4 kB / 1.284 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.3415, allocations: 3.938 kB / 1.284 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.144e-05/0.3416, allocations: 11.92 kB / 1.284 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.3417, allocations: 19.92 kB / 1.284 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.711e-05/0.3418, allocations: 55.83 kB / 1.285 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3419, allocations: 15.92 kB / 1.285 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.342, allocations: 27.86 kB / 1.285 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.698e-05/0.3421, allocations: 19.91 kB / 1.285 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3421, allocations: 4 kB / 1.285 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.3421, allocations: 4 kB / 1.285 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.3421, allocations: 12 kB / 1.285 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.3422, allocations: 19.86 kB / 1.285 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.3423, allocations: 44.09 kB / 1.285 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3423, allocations: 0 / 1.285 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3423, allocations: 0 / 1.285 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.3423, allocations: 0 / 1.285 GB, free: 2.047 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.0005246/0.3428, allocations: 290.2 kB / 1.285 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3429, allocations: 8.031 kB / 1.285 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/0.3429, allocations: 38.73 kB / 1.285 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.3429, allocations: 8.891 kB / 1.285 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3431, allocations: 114.5 kB / 1.285 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3431, allocations: 4.375 kB / 1.285 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.3431, allocations: 4.375 kB / 1.285 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.3432, allocations: 61.8 kB / 1.285 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.3432, allocations: 0 / 1.285 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3432, allocations: 4 kB / 1.285 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3432, allocations: 0 / 1.285 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.641e-05/0.3433, allocations: 23.92 kB / 1.285 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.3438, allocations: 267.8 kB / 1.285 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.3439, allocations: 58.59 kB / 1.286 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.344, allocations: 20.89 kB / 1.286 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.344, allocations: 4 kB / 1.286 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.3442, allocations: 71.38 kB / 1.286 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3442, allocations: 0 / 1.286 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002447/0.3444, allocations: 109.5 kB / 1.286 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.3445, allocations: 55.41 kB / 1.286 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.574e-05/0.3446, allocations: 101.8 kB / 1.286 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3446, allocations: 33.7 kB / 1.286 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.3446, allocations: 92.03 kB / 1.286 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.3447, allocations: 19.84 kB / 1.286 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.3447, allocations: 33.7 kB / 1.286 GB, free: 484 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3449, allocations: 322.8 kB / 1.286 GB, free: 152 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.961e-05/0.3449, allocations: 19.92 kB / 1.286 GB, free: 132 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.345, allocations: 47.42 kB / 1.286 GB, free: 72 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.3451, allocations: 63.45 kB / 1.286 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3451, allocations: 0 / 1.286 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001529/0.3452, allocations: 101.8 kB / 1.287 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3452, allocations: 8.031 kB / 1.287 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3452, allocations: 4 kB / 1.287 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3452, allocations: 0 / 1.287 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.3453, allocations: 11.98 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3453, allocations: 7.938 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.539e-05/0.3454, allocations: 8 kB / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.3454, allocations: 7.938 kB / 1.287 GB, free: 15.84 MB / 0.9981 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.298e-05/0.3455, allocations: 118.9 kB / 1.287 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.3455, allocations: 7.953 kB / 1.287 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.3455, allocations: 8.062 kB / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3455, allocations: 7.938 kB / 1.287 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3455, allocations: 0 / 1.287 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3455, allocations: 0 / 1.287 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.346, allocations: 333.3 kB / 1.287 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.346, allocations: 0 / 1.287 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-05/0.346, allocations: 7.938 kB / 1.287 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.346, allocations: 480 / 1.287 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.346, allocations: 3.984 kB / 1.287 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.346, allocations: 7.938 kB / 1.287 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.346, allocations: 0 / 1.287 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.3462, allocations: 183.4 kB / 1.287 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.529e-05/0.3462, allocations: 11.94 kB / 1.287 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.3462, allocations: 4 kB / 1.287 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/0.3463, allocations: 7.938 kB / 1.287 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.3463, allocations: 7.984 kB / 1.287 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3463, allocations: 0 / 1.287 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.871e-05/0.3464, allocations: 87.27 kB / 1.287 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3464, allocations: 0 / 1.287 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002405/0.3466, allocations: 16 kB / 1.287 GB, free: 14.97 MB / 0.9981 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.0005047/0.3471, allocations: 0.7156 MB / 1.288 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.3473, allocations: 51.92 kB / 1.288 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.3473, allocations: 0 / 1.288 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.824e-05/0.3474, allocations: 27.92 kB / 1.288 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.3477, allocations: 17.64 kB / 1.288 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.349, allocations: 1.364 MB / 1.29 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.536e-05/0.3491, allocations: 71.33 kB / 1.29 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.707e-05/0.3491, allocations: 7.938 kB / 1.29 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.3491, allocations: 27.48 kB / 1.29 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.3491, allocations: 0 / 1.29 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.3793, allocations: 2.326 MB / 1.292 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.45, allocations: 6.672 kB / 1.292 GB, free: 10.36 MB / 0.9981 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: 18.341246240772307]