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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009332/0.009332, allocations: 97.39 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002679/0.002679, allocations: 199.9 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.54/2.54, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.434/3.434, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4384, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.004623/0.4431, allocations: 1.48 MB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.4446, allocations: 438.9 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.513e-05/0.4447, allocations: 4 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.299e-05/0.4448, allocations: 7.922 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.4449, allocations: 3.938 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.4451, allocations: 19.97 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.4453, allocations: 51.84 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.4455, allocations: 15.98 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.511e-05/0.4456, allocations: 19.94 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.888e-05/0.4457, allocations: 27.84 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.4458, allocations: 7.938 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.155e-05/0.4458, allocations: 4 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.4458, allocations: 11.97 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.048e-05/0.4459, allocations: 27.86 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.4461, allocations: 47.75 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4462, allocations: 0 / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4462, allocations: 0 / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.4462, allocations: 4 kB / 1.222 GB, free: 12.12 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.0008716/0.4471, allocations: 367.3 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.4471, allocations: 8.031 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.087e-05/0.4472, allocations: 30.75 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.4473, allocations: 4.938 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.4475, allocations: 176.3 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.4476, allocations: 4.375 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.4476, allocations: 4.375 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.4478, allocations: 65.75 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.4479, allocations: 0 / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.4479, allocations: 0 / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.4479, allocations: 0 / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.448, allocations: 31.97 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008499/0.4489, allocations: 296.7 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.4491, allocations: 62.5 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.489e-05/0.4492, allocations: 28.94 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.4493, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.4496, allocations: 75.38 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 2.856e-06/0.4496, allocations: 0 / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004402/0.45, allocations: 101.5 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.4501, allocations: 55.41 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.4503, allocations: 109.8 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.4504, allocations: 33.7 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.4505, allocations: 84.14 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.4506, allocations: 19.84 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.4507, allocations: 25.72 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.4509, allocations: 322.8 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.906e-05/0.451, allocations: 16 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.4511, allocations: 51.36 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.4513, allocations: 67.36 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4513, allocations: 0 / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002842/0.4516, allocations: 101.8 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.4516, allocations: 8 kB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.4516, allocations: 4 kB / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.4517, allocations: 4.031 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.4518, allocations: 12 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.4519, allocations: 7.984 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.452, allocations: 11.92 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.4521, allocations: 7.938 kB / 1.224 GB, free: 9.711 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.0001674/0.4522, allocations: 119.3 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.4523, allocations: 7.953 kB / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.742e-05/0.4524, allocations: 7.969 kB / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.4524, allocations: 0 / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.4524, allocations: 7.938 kB / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.4524, allocations: 3.984 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008287/0.4533, allocations: 362.4 kB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4533, allocations: 0 / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.082e-05/0.4533, allocations: 4 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.4534, allocations: 0 / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.4534, allocations: 0 / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.4534, allocations: 3.938 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4534, allocations: 480 / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.4538, allocations: 191.4 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.573e-05/0.4539, allocations: 81.11 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.4539, allocations: 0 / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.4541, allocations: 11.92 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.4542, allocations: 11.98 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.4542, allocations: 0 / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.657e-05/0.4543, allocations: 79.28 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.31e-07/0.4544, allocations: 8 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004823/0.4549, allocations: 19.89 kB / 1.225 GB, free: 8.703 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.000852/0.4557, allocations: 0.7168 MB / 1.226 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002859/0.456, allocations: 55.91 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.4561, allocations: 4.062 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.4562, allocations: 27.94 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.4568, allocations: 19.17 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.4592, allocations: 1.37 MB / 1.227 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.4597, allocations: 0.6885 MB / 1.228 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.566e-05/0.4598, allocations: 7.922 kB / 1.228 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.4599, allocations: 15.44 kB / 1.228 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of SimCode: time 1.552e-06/0.4599, allocations: 4 kB / 1.228 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09842/0.5583, allocations: 1.76 MB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.87/20.43, allocations: 10.34 kB / 1.23 GB, free: 4 MB / 0.9825 GB (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 50 --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) 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) Reference file matches