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.009984/0.009984, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.002402/0.002402, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.32/2.32, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 71.83 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7662/0.7676, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002388/0.77, allocations: 1.486 MB / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006804/0.7707, allocations: 450.9 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.7707, allocations: 0 / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.7708, allocations: 0 / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.481e-05/0.7709, allocations: 15.86 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.771, allocations: 23.97 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.072e-05/0.7711, allocations: 51.84 kB / 1.168 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.816e-05/0.7712, allocations: 15.98 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.728e-05/0.7713, allocations: 19.92 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.896e-05/0.7713, allocations: 23.91 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.7714, allocations: 4 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.7714, allocations: 4 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.7714, allocations: 15.92 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.7715, allocations: 23.92 kB / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.427e-05/0.7716, allocations: 46.02 kB / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.7716, allocations: 0 / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7716, allocations: 0 / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.7716, allocations: 0 / 1.168 GB, free: 1.605 MB / 0.8887 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.0004699/0.7721, allocations: 359.4 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.7721, allocations: 8.922 kB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.7721, allocations: 42.73 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.7722, allocations: 4.844 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.7723, allocations: 168.4 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.7723, allocations: 8.375 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.7723, allocations: 4.375 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.7724, allocations: 65.67 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.7724, allocations: 0 / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.7725, allocations: 0 / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.7725, allocations: 4 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.582e-05/0.7725, allocations: 23.98 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.773, allocations: 312.6 kB / 1.169 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.318e-05/0.7731, allocations: 54.56 kB / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.7731, allocations: 24.95 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.7731, allocations: 0 / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.7733, allocations: 79.41 kB / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.7733, allocations: 0 / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of matching and sorting (n=9): time 0.0002078/0.7735, allocations: 101.5 kB / 1.169 GB, free: 196 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.7735, allocations: 55.41 kB / 1.169 GB, free: 128 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.62e-05/0.7736, allocations: 101.8 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.7736, allocations: 33.7 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.7737, allocations: 80.14 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.7737, allocations: 19.72 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.7738, allocations: 33.64 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.118e-05/0.7739, allocations: 326.8 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.344e-05/0.7739, allocations: 15.98 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.868e-05/0.774, allocations: 47.36 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.333e-05/0.774, allocations: 71.55 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7741, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001281/0.7742, allocations: 105.5 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.7742, allocations: 4 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.7742, allocations: 0 / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.7742, allocations: 4 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.7743, allocations: 12.36 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.7743, allocations: 0 / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.7744, allocations: 11.94 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.7744, allocations: 7.938 kB / 1.17 GB, free: 15.2 MB / 0.9044 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.94e-05/0.7745, allocations: 129.7 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.7745, allocations: 4 kB / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.7745, allocations: 7.969 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.7745, allocations: 4 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7745, allocations: 0 / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.7746, allocations: 0 / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.7749, allocations: 358.3 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7749, allocations: 0 / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.775, allocations: 7.984 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.775, allocations: 4 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.775, allocations: 4 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.775, allocations: 7.938 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.775, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.7751, allocations: 179.4 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.7752, allocations: 81.11 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.7752, allocations: 3.938 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.7753, allocations: 15.92 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.7753, allocations: 4 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.7753, allocations: 12.06 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.659e-05/0.7754, allocations: 83.27 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7754, allocations: 0 / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002217/0.7756, allocations: 16 kB / 1.171 GB, free: 14.2 MB / 0.9044 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.000391/0.776, allocations: 0.7202 MB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.7762, allocations: 55.92 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7762, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.085e-05/0.7762, allocations: 23.98 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.7765, allocations: 18.84 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.7776, allocations: 1.366 MB / 1.173 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.7778, allocations: 0.6846 MB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.795e-05/0.7779, allocations: 4 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.7779, allocations: 19.42 kB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.7779, allocations: 3.938 kB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.7957, allocations: 1.762 MB / 1.176 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.612/8.408, allocations: 15.42 kB / 1.176 GB, free: 9.492 MB / 0.9044 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