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.001532/0.001532, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001814/0.001814, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.961 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.427/3.427, allocations: 0.49 GB / 0.7951 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] 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.002046/0.002046, allocations: 74.58 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3571, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002841/0.3599, allocations: 1.517 MB / 1.327 GB, free: 472 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000892/0.3608, allocations: 486.8 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.928e-05/0.3609, allocations: 4 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.3609, allocations: 7.875 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.606e-05/0.361, allocations: 3.938 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.3612, allocations: 31.91 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.568e-05/0.3612, allocations: 47.75 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3614, allocations: 15.97 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.552e-05/0.3614, allocations: 23.86 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.347e-05/0.3615, allocations: 19.92 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.3615, allocations: 8 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.3615, allocations: 4 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.3615, allocations: 7.984 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.3616, allocations: 23.88 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.3617, allocations: 48.08 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3617, allocations: 0 / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3617, allocations: 4 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3617, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 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.0005297/0.3622, allocations: 287.9 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3623, allocations: 12.03 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.491e-05/0.3623, allocations: 38.75 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.3623, allocations: 8.891 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.3625, allocations: 114.5 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3625, allocations: 4.375 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.3625, allocations: 8.375 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3626, allocations: 57.81 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3626, allocations: 3.984 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.3626, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3626, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.392e-05/0.3627, allocations: 35.91 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.3632, allocations: 267.8 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.3634, allocations: 54.59 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.3634, allocations: 24.95 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.3634, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.3636, allocations: 75.31 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.3636, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0002448/0.3639, allocations: 101.6 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.3639, allocations: 59.41 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.364, allocations: 101.8 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.3641, allocations: 33.7 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.3641, allocations: 88.08 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.3641, allocations: 19.84 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.3642, allocations: 37.64 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3643, allocations: 322.8 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.33e-05/0.3644, allocations: 16 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/0.3644, allocations: 47.42 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.282e-05/0.3645, allocations: 71.3 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3645, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000149/0.3647, allocations: 89.58 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3647, allocations: 8 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3647, allocations: 4.031 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3647, allocations: 3.984 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.584e-05/0.3648, allocations: 11.94 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3648, allocations: 4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.936e-05/0.3649, allocations: 15.94 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3649, allocations: 12 kB / 1.33 GB, free: 13.52 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 9.599e-05/0.365, allocations: 117.6 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.365, allocations: 7.984 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.365, allocations: 12.06 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.365, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.365, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.365, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.3655, allocations: 337.8 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3655, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.3655, allocations: 11.92 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3655, allocations: 96 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3656, allocations: 7.938 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3656, allocations: 3.938 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3656, allocations: 4 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.3657, allocations: 175.5 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.582e-05/0.3658, allocations: 11.95 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.3658, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/0.3659, allocations: 11.92 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.3659, allocations: 11.98 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3659, allocations: 4 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.211e-05/0.366, allocations: 83.28 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.366, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000254/0.3662, allocations: 12 kB / 1.331 GB, free: 12.64 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.0005129/0.3667, allocations: 0.7185 MB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.3669, allocations: 55.91 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3669, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.082e-05/0.3669, allocations: 23.94 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.3672, allocations: 25.95 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.3686, allocations: 1.359 MB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.369, allocations: 0.6807 MB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.111e-05/0.369, allocations: 7.984 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.369, allocations: 15.44 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.369, allocations: 0 / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.3965, allocations: 1.92 MB / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.24, allocations: 0 / 1.335 GB, free: 7.836 MB / 1.029 GB " [Timeout remaining time 289] (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: 18.356567961998735]