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.0008488/0.0008488, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005134/0.005134, allocations: 169 kB / 16.26 MB, free: 6.652 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.29/2.29, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003171, allocations: 8 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.5376, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001376/0.539, allocations: 1.196 MB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005918/0.5396, allocations: 439 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.5396, allocations: 4 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/0.5396, allocations: 3.938 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.084e-05/0.5397, allocations: 3.984 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001077/0.5398, allocations: 23.86 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.946e-05/0.5399, allocations: 43.91 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.917e-05/0.54, allocations: 8 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.54, allocations: 23.91 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.11e-05/0.5401, allocations: 19.86 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.5401, allocations: 8 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.747e-06/0.5401, allocations: 4 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.5401, allocations: 11.92 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.5402, allocations: 45.62 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.973e-05/0.5402, allocations: 38.08 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.5403, allocations: 0 / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5403, allocations: 0 / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.5403, allocations: 0 / 1.025 GB, free: 13.99 MB / 0.7794 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.0004188/0.5407, allocations: 363.3 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5407, allocations: 8.031 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.42e-05/0.5408, allocations: 38.75 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.5408, allocations: 4.938 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.5409, allocations: 168.4 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.5409, allocations: 8.375 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.541, allocations: 4.375 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.5411, allocations: 61.73 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.5411, allocations: 0 / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.5411, allocations: 4 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.5411, allocations: 4 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.505e-05/0.5412, allocations: 23.98 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.5416, allocations: 308.6 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.5417, allocations: 58.59 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.009e-05/0.5417, allocations: 28.91 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.5418, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.5419, allocations: 75.41 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.5419, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0001934/0.5421, allocations: 101.5 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.5422, allocations: 59.39 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.958e-05/0.5422, allocations: 101.9 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.5422, allocations: 29.7 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.5423, allocations: 92.03 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.5423, allocations: 19.8 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.5424, allocations: 21.7 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.451e-05/0.5424, allocations: 318.8 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.384e-05/0.5425, allocations: 23.92 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.627e-05/0.5425, allocations: 43.44 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.137e-05/0.5426, allocations: 71.53 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.5426, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001324/0.5428, allocations: 97.45 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.5428, allocations: 8 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.5428, allocations: 4.031 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.5428, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.5429, allocations: 16.06 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5429, allocations: 4 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.467e-05/0.543, allocations: 11.92 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.543, allocations: 7.938 kB / 1.027 GB, free: 11.59 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.085e-05/0.543, allocations: 121.6 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.5431, allocations: 7.906 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.5431, allocations: 15.95 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5431, allocations: 0 / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.5431, allocations: 4 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5431, allocations: 0 / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.5435, allocations: 358.5 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5435, allocations: 480 / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/0.5435, allocations: 4 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5435, allocations: 4 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.5435, allocations: 0 / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.5435, allocations: 7.938 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5436, allocations: 3.938 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.5437, allocations: 183.4 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.5437, allocations: 77.11 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.5438, allocations: 3.984 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.5438, allocations: 15.94 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.5439, allocations: 11.98 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.5439, allocations: 3.938 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.5439, allocations: 87.2 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5439, allocations: 0 / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002201/0.5442, allocations: 19.91 kB / 1.028 GB, free: 10.57 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.0003652/0.5445, allocations: 0.7124 MB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.5447, allocations: 52.16 kB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5447, allocations: 0 / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.869e-05/0.5447, allocations: 27.92 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.545, allocations: 18.38 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.546, allocations: 1.371 MB / 1.03 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.5462, allocations: 0.6887 MB / 1.031 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.44e-05/0.5462, allocations: 3.938 kB / 1.031 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/0.5463, allocations: 19.77 kB / 1.031 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5463, allocations: 0 / 1.031 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009955/0.5562, allocations: 1.485 MB / 1.032 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.5565, allocations: 220.1 kB / 1.032 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/2.084, allocations: 0 / 1.032 GB, free: 5.934 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