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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001408/0.001408, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001561/0.001561, allocations: 192.7 kB / 16.14 MB, free: 6.711 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.188/1.188, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.236/2.236, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 67.89 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4376, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002077/0.4397, allocations: 1.543 MB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005005/0.4402, allocations: 450.9 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.4402, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.4403, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.455e-05/0.4404, allocations: 7.938 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.4405, allocations: 15.98 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.596e-05/0.4405, allocations: 55.77 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.967e-05/0.4406, allocations: 12 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.994e-05/0.4407, allocations: 15.98 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.7e-05/0.4407, allocations: 23.86 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.4407, allocations: 4 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.4408, allocations: 4 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.4408, allocations: 7.984 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.4408, allocations: 27.84 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.744e-05/0.4409, allocations: 38.14 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4409, allocations: 4 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.01e-07/0.4409, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.4409, allocations: 0 / 1.019 GB, free: 0.5586 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.000404/0.4413, allocations: 359.4 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.4414, allocations: 12.03 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.798e-05/0.4414, allocations: 38.69 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.269e-05/0.4414, allocations: 4.938 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.4415, allocations: 168.3 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.4415, allocations: 8.375 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.4416, allocations: 4.375 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.045e-05/0.4417, allocations: 57.8 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.4417, allocations: 3.938 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.4417, allocations: 8 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.4417, allocations: 0 / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.418e-05/0.4417, allocations: 23.98 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.4421, allocations: 296.8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.741e-05/0.4422, allocations: 54.59 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.4423, allocations: 32.94 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.4423, allocations: 7.938 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/0.4424, allocations: 79.27 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 2.265e-06/0.4424, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0001762/0.4426, allocations: 97.56 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.4427, allocations: 59.33 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.756e-05/0.4427, allocations: 105.9 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.4427, allocations: 29.7 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.4428, allocations: 92.03 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.4428, allocations: 19.72 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.4428, allocations: 29.7 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.522e-05/0.4429, allocations: 318.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.361e-05/0.443, allocations: 19.98 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.556e-05/0.443, allocations: 47.61 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.478e-05/0.4431, allocations: 71.36 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4431, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001175/0.4432, allocations: 89.61 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.4432, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4432, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.4433, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.97e-05/0.4433, allocations: 19.95 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4433, allocations: 7.984 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.367e-05/0.4434, allocations: 15.84 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.4434, allocations: 3.938 kB / 1.021 GB, free: 14.15 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 6.259e-05/0.4435, allocations: 121.5 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.4435, allocations: 3.984 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.4435, allocations: 11.97 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.4435, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.4435, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.4435, allocations: 384 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.4439, allocations: 366.2 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4439, allocations: 0 / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.4439, allocations: 4 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4439, allocations: 7.938 kB / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.4439, allocations: 7.984 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.4439, allocations: 3.938 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.4439, allocations: 0 / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.4441, allocations: 179.5 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.4441, allocations: 85 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.4441, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.912e-05/0.4442, allocations: 7.938 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.4443, allocations: 7.984 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.4443, allocations: 8.062 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.244e-05/0.4443, allocations: 83.36 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4443, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002137/0.4445, allocations: 16 kB / 1.022 GB, free: 13.14 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.000321/0.4449, allocations: 0.7145 MB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.445, allocations: 55.86 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.445, allocations: 4.344 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.148e-05/0.445, allocations: 27.92 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.4453, allocations: 15.94 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009218/0.4462, allocations: 1.373 MB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.4464, allocations: 0.6848 MB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.64e-05/0.4464, allocations: 11.92 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.4465, allocations: 11.77 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.4465, allocations: 4 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5864/1.033, allocations: 1.533 MB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/1.033, allocations: 222.5 kB / 1.026 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.632, allocations: 0 / 1.026 GB, free: 8.414 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