Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_11_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.00144/0.00144, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00137/0.00137, allocations: 187.7 kB / 16.25 MB, free: 6.586 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.242/1.242, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.489/2.489, allocations: 469.8 MB / 0.7421 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 69.19 kB / 0.9082 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2281, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002413/0.2305, allocations: 1.541 MB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005984/0.2311, allocations: 439 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.2312, allocations: 8 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.2312, allocations: 3.984 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.985e-05/0.2313, allocations: 3.938 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.2314, allocations: 19.98 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.719e-05/0.2315, allocations: 55.78 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.554e-05/0.2316, allocations: 15.98 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.283e-05/0.2316, allocations: 15.98 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.2317, allocations: 23.8 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.2317, allocations: 8 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.2317, allocations: 4 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.2318, allocations: 15.98 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.979e-05/0.2318, allocations: 27.84 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.037e-05/0.2319, allocations: 36.17 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2319, allocations: 3.938 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2319, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2319, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 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.0004662/0.2324, allocations: 359.4 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.2324, allocations: 12.03 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.2325, allocations: 38.75 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.2325, allocations: 4.844 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.2326, allocations: 172.3 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.2326, allocations: 4.375 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.2327, allocations: 8.375 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.2328, allocations: 61.73 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2328, allocations: 0 / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.2328, allocations: 3.984 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.2328, allocations: 4 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.582e-05/0.2329, allocations: 23.98 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.2333, allocations: 300.7 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.2334, allocations: 58.56 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.249e-05/0.2335, allocations: 28.94 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.2335, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.2336, allocations: 75.41 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.2336, allocations: 3.938 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0001982/0.2338, allocations: 101.5 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.2339, allocations: 59.41 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.154e-05/0.234, allocations: 105.8 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.234, allocations: 33.7 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.509e-05/0.234, allocations: 88.12 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.2341, allocations: 23.66 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.2341, allocations: 29.7 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2343, allocations: 318.8 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.505e-05/0.2343, allocations: 19.98 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.094e-05/0.2344, allocations: 35.44 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.441e-05/0.2344, allocations: 71.36 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2345, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001328/0.2346, allocations: 97.61 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.2346, allocations: 4 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2346, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.2346, allocations: 7.938 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.884e-05/0.2347, allocations: 8 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2347, allocations: 32 / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.2348, allocations: 15.89 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.2348, allocations: 11.94 kB / 1.068 GB, free: 9.938 MB / 0.8262 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.939e-05/0.2349, allocations: 113.8 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.2349, allocations: 8.219 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.2349, allocations: 11.95 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2349, allocations: 3.984 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2349, allocations: 4 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2349, allocations: 0 / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.2353, allocations: 362.3 kB / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2353, allocations: 0 / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.2354, allocations: 7.938 kB / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2354, allocations: 0 / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.2354, allocations: 4.062 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2354, allocations: 8.406 kB / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2354, allocations: 0 / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.2355, allocations: 187.4 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.2356, allocations: 84.95 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.2356, allocations: 3.984 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/0.2357, allocations: 15.94 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.2357, allocations: 7.984 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.2358, allocations: 4 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.155e-05/0.2358, allocations: 83.28 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.2358, allocations: 0 / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002155/0.236, allocations: 19.98 kB / 1.069 GB, free: 8.926 MB / 0.8262 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.0004178/0.2365, allocations: 0.7162 MB / 1.069 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.2366, allocations: 59.92 kB / 1.069 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.2366, allocations: 0 / 1.069 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.985e-05/0.2367, allocations: 27.92 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.2369, allocations: 16 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.238, allocations: 1.368 MB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.2383, allocations: 0.6807 MB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.429e-05/0.2383, allocations: 4 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.2384, allocations: 19.42 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2384, allocations: 0 / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3011/0.5395, allocations: 1.62 MB / 1.073 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002959/0.5398, allocations: 215.6 kB / 1.073 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/2.227, allocations: 0 / 1.073 GB, free: 4.152 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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