Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_9_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.003786/0.003786, allocations: 102.9 kB / 15.73 MB, free: 6.035 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.0009117/0.0009117, allocations: 196.5 kB / 16.68 MB, free: 5.957 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.123/2.123, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 0.9504 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7425/0.7438, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002109/0.7459, allocations: 1.478 MB / 1.089 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005369/0.7464, allocations: 443.3 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.7465, allocations: 0.8438 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.7465, allocations: 5.625 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.06e-05/0.7466, allocations: 9.672 kB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.7467, allocations: 21.47 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.26e-05/0.7468, allocations: 51.58 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.7469, allocations: 12.2 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.339e-05/0.7469, allocations: 30.62 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.747, allocations: 18.61 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.747, allocations: 4.781 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.747, allocations: 3.75 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.7471, allocations: 13.45 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.7471, allocations: 25.05 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.494e-05/0.7472, allocations: 47.31 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7472, allocations: 0 / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7472, allocations: 0 / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.7472, allocations: 0 / 1.09 GB, free: 3.855 MB / 0.8575 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.0003741/0.7476, allocations: 361.6 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.7476, allocations: 13.98 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.267e-05/0.7477, allocations: 34.23 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.7477, allocations: 7.125 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.301e-05/0.7478, allocations: 177.5 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.7478, allocations: 3.688 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.7478, allocations: 3.344 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.977e-05/0.7479, allocations: 58.66 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.7479, allocations: 8 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.7479, allocations: 5.719 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.7479, allocations: 1.312 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.336e-05/0.748, allocations: 29.28 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.7483, allocations: 307.6 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.535e-05/0.7484, allocations: 53.8 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.7485, allocations: 30.8 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.7485, allocations: 1.344 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.7486, allocations: 69.56 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.7486, allocations: 0 / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0001832/0.7488, allocations: 96.69 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.7489, allocations: 54.28 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.723e-05/0.7489, allocations: 116.4 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.7489, allocations: 26.86 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.378e-05/0.749, allocations: 87.86 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.749, allocations: 20.11 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.749, allocations: 29.05 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.601e-05/0.7491, allocations: 317.9 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.233e-05/0.7491, allocations: 19.84 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-05/0.7491, allocations: 48.28 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.623e-05/0.7492, allocations: 65.36 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7492, allocations: 0 / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001135/0.7493, allocations: 98.28 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.7494, allocations: 5.688 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.7494, allocations: 1.172 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.7494, allocations: 5.844 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.7494, allocations: 13.69 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.7495, allocations: 10.08 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.053e-05/0.7495, allocations: 14 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.7495, allocations: 7.578 kB / 1.092 GB, free: 1.875 MB / 0.8575 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 4.929e-05/0.7496, allocations: 120.2 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.7496, allocations: 2.422 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.7496, allocations: 9.469 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.7496, allocations: 1.688 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.7497, allocations: 9.062 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.7497, allocations: 0.5156 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.75, allocations: 363.8 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.75, allocations: 1.25 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.75, allocations: 8.375 kB / 1.092 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.75, allocations: 0 / 1.092 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.75, allocations: 1.922 kB / 1.092 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.75, allocations: 5.391 kB / 1.092 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.75, allocations: 0 / 1.092 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.7502, allocations: 182.8 kB / 1.092 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.7502, allocations: 83.09 kB / 1.092 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.7502, allocations: 2.672 kB / 1.092 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.7503, allocations: 9.062 kB / 1.092 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.7503, allocations: 11.28 kB / 1.092 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.7504, allocations: 2.562 kB / 1.092 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.097e-05/0.7504, allocations: 85.28 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.7504, allocations: 4 kB / 1.093 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002184/0.7506, allocations: 11.53 kB / 1.093 GB, free: 1.047 MB / 0.8575 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.0003119/0.7509, allocations: 0.7151 MB / 1.093 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.751, allocations: 53.75 kB / 1.093 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.7511, allocations: 0.7188 kB / 1.093 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.115e-05/0.7511, allocations: 35.8 kB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.7514, allocations: 11.3 kB / 1.093 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009684/0.7523, allocations: 1.369 MB / 1.095 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.7525, allocations: 0.6885 MB / 1.095 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.564e-05/0.7526, allocations: 10.16 kB / 1.095 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.7526, allocations: 20.3 kB / 1.095 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.7526, allocations: 0 / 1.095 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8315/1.584, allocations: 1.793 MB / 1.097 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/12.16, allocations: 3.734 kB / 1.097 GB, free: 13.92 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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