Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_10_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.001039/0.001039, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009799/0.0009799, allocations: 192.9 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.311/2.311, allocations: 437 MB / 0.7101 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.89 kB / 0.8688 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.5476, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00223/0.5498, allocations: 1.543 MB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000546/0.5504, allocations: 451 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.5504, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.5505, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.059e-05/0.5505, allocations: 7.938 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001227/0.5507, allocations: 15.98 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.117e-05/0.5508, allocations: 47.84 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.969e-05/0.5508, allocations: 19.98 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.303e-05/0.5509, allocations: 19.92 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.733e-05/0.5509, allocations: 19.91 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.551, allocations: 4 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.551, allocations: 4 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.551, allocations: 15.94 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.5511, allocations: 23.92 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.231e-05/0.5511, allocations: 50.06 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5511, allocations: 3.938 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5512, allocations: 0 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.5512, allocations: 0 / 1.019 GB, free: 0.5117 MB / 0.7637 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.0004369/0.5516, allocations: 363.3 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.5516, allocations: 8.031 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.969e-05/0.5517, allocations: 38.73 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.249e-05/0.5517, allocations: 0.9375 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.5518, allocations: 176.3 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.5518, allocations: 4.375 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.5519, allocations: 4.375 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.552, allocations: 69.67 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.552, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.552, allocations: 4 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.552, allocations: 4 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.523e-05/0.5521, allocations: 19.98 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.5525, allocations: 308.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.218e-05/0.5526, allocations: 58.55 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.5526, allocations: 20.95 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.749e-06/0.5526, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.5528, allocations: 83.31 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.5528, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0001844/0.553, allocations: 97.61 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.553, allocations: 63.39 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.369e-05/0.5531, allocations: 105.8 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.5531, allocations: 25.7 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.5531, allocations: 88.05 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.5532, allocations: 19.75 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.5532, allocations: 33.7 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.277e-05/0.5533, allocations: 318.8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.257e-05/0.5533, allocations: 19.98 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-05/0.5534, allocations: 43.42 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.521e-05/0.5535, allocations: 63.38 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5535, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001212/0.5536, allocations: 97.52 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.5536, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.5536, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.5536, allocations: 7.938 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.184e-05/0.5537, allocations: 12.36 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.5537, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/0.5538, allocations: 7.938 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.5538, allocations: 7.938 kB / 1.021 GB, free: 14.12 MB / 0.7794 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 7.296e-05/0.5539, allocations: 131.9 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.5539, allocations: 11.84 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.5539, allocations: 7.969 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.5539, allocations: 4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5539, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.5539, allocations: 352 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.5543, allocations: 362.4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5543, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.486e-05/0.5543, allocations: 7.984 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5543, allocations: 3.984 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.5543, allocations: 4 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.5543, allocations: 3.938 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5544, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.5545, allocations: 183.4 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.5545, allocations: 84.95 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.5545, allocations: 8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-05/0.5546, allocations: 11.92 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.5547, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.5547, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.513e-05/0.5547, allocations: 87.27 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5547, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002151/0.5549, allocations: 12 kB / 1.022 GB, free: 13.1 MB / 0.7794 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.0003498/0.5553, allocations: 0.7203 MB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.5554, allocations: 55.92 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.5554, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.594e-05/0.5555, allocations: 27.92 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.5557, allocations: 15.92 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009768/0.5567, allocations: 1.367 MB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.5569, allocations: 0.6923 MB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.582e-05/0.557, allocations: 7.922 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.557, allocations: 15.44 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.557, allocations: 4 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.5795, allocations: 1.617 MB / 1.026 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/0.5798, allocations: 217.4 kB / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.122, allocations: 0 / 1.027 GB, free: 8.312 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:booleanPulse.period,booleanPulse.startTime,booleanPulse.width,booleanPulse.y,not1.u,not1.y,offTim1.u,offTim1.y,offTim2.u,offTim2.y,time