Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_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.00121/0.00121, 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.001234/0.001234, allocations: 191.8 kB / 16.14 MB, free: 6.719 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.191/1.191, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.392/2.392, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 63.86 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2279, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002348/0.2303, allocations: 1.539 MB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006023/0.2309, allocations: 450.8 kB / 1.054 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.231, allocations: 4 kB / 1.054 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.231, allocations: 3.938 kB / 1.054 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.679e-05/0.2311, allocations: 0 / 1.054 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.2312, allocations: 27.92 kB / 1.054 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.859e-05/0.2313, allocations: 47.84 kB / 1.054 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.177e-05/0.2314, allocations: 11.98 kB / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.158e-05/0.2314, allocations: 19.92 kB / 1.054 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.2315, allocations: 23.92 kB / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.2315, allocations: 0 / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.2315, allocations: 4 kB / 1.054 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.2315, allocations: 11.92 kB / 1.054 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.2316, allocations: 27.86 kB / 1.054 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.281e-05/0.2317, allocations: 40.16 kB / 1.054 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2317, allocations: 0 / 1.054 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.31e-07/0.2317, allocations: 0 / 1.054 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.2317, allocations: 0 / 1.054 GB, free: 6.023 MB / 0.8106 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.0004238/0.2321, allocations: 359.4 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2322, allocations: 11.97 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/0.2322, allocations: 34.75 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.566e-05/0.2322, allocations: 4.938 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2323, allocations: 180.2 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.026e-06/0.2324, allocations: 384 / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.2324, allocations: 8.375 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.794e-05/0.2325, allocations: 65.73 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.2325, allocations: 0 / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.2325, allocations: 0 / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2325, allocations: 0 / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.772e-05/0.2326, allocations: 27.98 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.233, allocations: 296.8 kB / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.388e-05/0.2331, allocations: 54.56 kB / 1.055 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/0.2331, allocations: 28.88 kB / 1.055 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.2331, allocations: 3.938 kB / 1.055 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.2333, allocations: 83.31 kB / 1.055 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.2333, allocations: 0 / 1.055 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0001916/0.2335, allocations: 101.6 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.2335, allocations: 59.39 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.932e-05/0.2336, allocations: 101.8 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.2336, allocations: 33.7 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.2337, allocations: 88.11 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.2337, allocations: 23.66 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.2337, allocations: 33.7 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.305e-05/0.2338, allocations: 322.8 kB / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-05/0.2339, allocations: 15.98 kB / 1.056 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.668e-05/0.2339, allocations: 47.36 kB / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.824e-05/0.234, allocations: 67.38 kB / 1.056 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.234, allocations: 4 kB / 1.056 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001262/0.2341, allocations: 97.55 kB / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.2342, allocations: 5.094 kB / 1.056 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2342, allocations: 0 / 1.056 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.2342, allocations: 4 kB / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-05/0.2342, allocations: 12.06 kB / 1.056 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2343, allocations: 7.969 kB / 1.056 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.2343, allocations: 11.91 kB / 1.056 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.2343, allocations: 7.938 kB / 1.056 GB, free: 3.609 MB / 0.8106 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.305e-05/0.2344, allocations: 121.8 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.2344, allocations: 4 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.2345, allocations: 11.95 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2345, allocations: 0 / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2345, allocations: 0 / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2345, allocations: 8.312 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.2348, allocations: 362.3 kB / 1.057 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2348, allocations: 4 kB / 1.057 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/0.2349, allocations: 4 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2349, allocations: 0 / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.2349, allocations: 3.984 kB / 1.057 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2349, allocations: 3.938 kB / 1.057 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2349, allocations: 0 / 1.057 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.235, allocations: 179.5 kB / 1.057 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.2351, allocations: 89.22 kB / 1.057 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.2351, allocations: 4 kB / 1.057 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.2352, allocations: 11.94 kB / 1.057 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.2352, allocations: 11.97 kB / 1.057 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.2352, allocations: 4 kB / 1.057 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.608e-05/0.2353, allocations: 87.27 kB / 1.057 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2353, allocations: 0 / 1.057 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002254/0.2355, allocations: 12 kB / 1.057 GB, free: 2.605 MB / 0.8106 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.0003419/0.2359, allocations: 0.7163 MB / 1.058 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.236, allocations: 51.92 kB / 1.058 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.236, allocations: 288 / 1.058 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.058e-05/0.2361, allocations: 31.92 kB / 1.058 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.2363, allocations: 15.88 kB / 1.058 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009941/0.2373, allocations: 1.363 MB / 1.059 GB, free: 308 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.2375, allocations: 0.6848 MB / 1.06 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.706e-05/0.2375, allocations: 11.98 kB / 1.06 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.2376, allocations: 15.44 kB / 1.06 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2376, allocations: 0 / 1.06 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.742/1.979, allocations: 1.537 MB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/1.98, allocations: 222.5 kB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/4.181, allocations: 5.312 kB / 1.062 GB, free: 13.89 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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