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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 112 kB / 17.96 MB, free: 4.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 201.4 kB / 21.22 MB, free: 0.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 225.6 MB / 249.9 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.606/2.606, allocations: 476.7 MB / 0.7635 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 68.73 kB / 1.108 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3636, allocations: 168.7 MB / 1.272 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002875/0.3665, allocations: 1.494 MB / 1.274 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007484/0.3672, allocations: 448 kB / 1.274 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.3672, allocations: 0 / 1.274 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.3673, allocations: 3.938 kB / 1.274 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.276e-05/0.3674, allocations: 11.92 kB / 1.274 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.3675, allocations: 19.97 kB / 1.274 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.958e-05/0.3676, allocations: 47.86 kB / 1.274 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3677, allocations: 19.97 kB / 1.274 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.353e-05/0.3678, allocations: 19.92 kB / 1.274 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.804e-05/0.3679, allocations: 19.92 kB / 1.274 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3679, allocations: 4 kB / 1.274 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.963e-05/0.3679, allocations: 8 kB / 1.274 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.779e-05/0.3679, allocations: 11.92 kB / 1.274 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.368, allocations: 19.94 kB / 1.274 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.3681, allocations: 51.95 kB / 1.274 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3681, allocations: 0 / 1.274 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3681, allocations: 4 kB / 1.274 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.3681, allocations: 4 kB / 1.275 GB, free: 9.637 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.0005796/0.3687, allocations: 359.3 kB / 1.275 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3687, allocations: 8.031 kB / 1.275 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.3688, allocations: 38.75 kB / 1.275 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.3688, allocations: 4.938 kB / 1.275 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.369, allocations: 176.2 kB / 1.275 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.369, allocations: 4.375 kB / 1.275 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.369, allocations: 8.375 kB / 1.275 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.3691, allocations: 69.67 kB / 1.275 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3691, allocations: 0 / 1.275 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3691, allocations: 4 kB / 1.275 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.3691, allocations: 0 / 1.275 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.86e-05/0.3692, allocations: 19.98 kB / 1.275 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.3697, allocations: 300.8 kB / 1.275 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.3698, allocations: 58.66 kB / 1.276 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.3699, allocations: 20.84 kB / 1.276 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.3699, allocations: 0 / 1.276 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.3701, allocations: 75.38 kB / 1.276 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.3701, allocations: 4 kB / 1.276 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002389/0.3703, allocations: 97.61 kB / 1.276 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.3704, allocations: 51.41 kB / 1.276 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.338e-05/0.3705, allocations: 117.8 kB / 1.276 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3705, allocations: 25.7 kB / 1.276 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.3705, allocations: 92.06 kB / 1.276 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.3706, allocations: 27.78 kB / 1.276 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.3706, allocations: 21.72 kB / 1.276 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3707, allocations: 326.8 kB / 1.276 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.77e-05/0.3708, allocations: 15.98 kB / 1.276 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.003e-05/0.3708, allocations: 47.44 kB / 1.276 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.213e-05/0.3709, allocations: 63.36 kB / 1.276 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3709, allocations: 4 kB / 1.276 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001483/0.3711, allocations: 97.88 kB / 1.277 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3711, allocations: 4 kB / 1.277 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3711, allocations: 4.281 kB / 1.277 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3711, allocations: 4.031 kB / 1.277 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.199e-05/0.3712, allocations: 15.94 kB / 1.277 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3712, allocations: 0 / 1.277 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.3713, allocations: 7.984 kB / 1.277 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.3713, allocations: 7.938 kB / 1.277 GB, free: 7.242 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.000101/0.3714, allocations: 125.8 kB / 1.277 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.3714, allocations: 3.953 kB / 1.277 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.3714, allocations: 11.95 kB / 1.277 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3714, allocations: 8 kB / 1.277 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3714, allocations: 0 / 1.277 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3714, allocations: 0 / 1.277 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.3719, allocations: 362.4 kB / 1.277 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3719, allocations: 0 / 1.277 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/0.3719, allocations: 8.062 kB / 1.277 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3719, allocations: 0 / 1.277 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3719, allocations: 4 kB / 1.277 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.3719, allocations: 3.938 kB / 1.277 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3719, allocations: 0 / 1.277 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.3721, allocations: 191.4 kB / 1.277 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.3721, allocations: 77.11 kB / 1.277 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3721, allocations: 7.984 kB / 1.277 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.904e-05/0.3722, allocations: 3.938 kB / 1.277 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.3723, allocations: 11.98 kB / 1.277 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.3723, allocations: 4 kB / 1.277 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.558e-05/0.3723, allocations: 79.28 kB / 1.277 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3723, allocations: 4 kB / 1.277 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002273/0.3725, allocations: 19.95 kB / 1.277 GB, free: 6.234 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.0005376/0.3731, allocations: 0.7169 MB / 1.278 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.3732, allocations: 51.92 kB / 1.278 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3732, allocations: 4.062 kB / 1.278 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.302e-05/0.3733, allocations: 23.98 kB / 1.278 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.3735, allocations: 15.88 kB / 1.278 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.3749, allocations: 1.369 MB / 1.28 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.3753, allocations: 0.6846 MB / 1.28 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.89e-05/0.3753, allocations: 15.86 kB / 1.28 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.3754, allocations: 15.44 kB / 1.28 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3754, allocations: 0 / 1.28 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.3997, allocations: 1.772 MB / 1.282 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.631, allocations: 12.48 kB / 1.282 GB, free: 1.5 MB / 0.9825 GB " [Timeout remaining time 291] (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_2/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: 14.910509046982042]