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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00125/0.00125, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001241/0.001241, allocations: 195 kB / 16.25 MB, free: 6.625 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.248/1.248, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.423/2.423, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 66.17 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2213, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002389/0.2237, allocations: 1.547 MB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005936/0.2243, allocations: 446.8 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.2244, allocations: 0 / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.2244, allocations: 4 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.936e-05/0.2245, allocations: 11.92 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.2246, allocations: 19.94 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.076e-05/0.2247, allocations: 55.78 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.2248, allocations: 15.97 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.466e-05/0.2248, allocations: 16 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.802e-05/0.2249, allocations: 23.84 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.2249, allocations: 8 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.2249, allocations: 8 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.225, allocations: 4 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.225, allocations: 31.84 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.125e-05/0.2251, allocations: 44.16 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2251, allocations: 0 / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2251, allocations: 0 / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.2251, allocations: 0 / 1.055 GB, free: 6.414 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.0004424/0.2256, allocations: 360.9 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.2256, allocations: 12.62 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.008e-05/0.2256, allocations: 38.73 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.2257, allocations: 4.938 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.2258, allocations: 172.2 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2258, allocations: 4.375 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.2258, allocations: 4.375 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.951e-05/0.2259, allocations: 61.73 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.2259, allocations: 4 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.2259, allocations: 4 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.2259, allocations: 0 / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.642e-05/0.226, allocations: 23.98 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.2264, allocations: 300.8 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.006e-05/0.2265, allocations: 54.69 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.2266, allocations: 20.86 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.2266, allocations: 8 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.2267, allocations: 75.28 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 3.467e-06/0.2267, allocations: 3.938 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0001916/0.2269, allocations: 101.5 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.227, allocations: 55.34 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.227, allocations: 113.8 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.2271, allocations: 25.7 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.2271, allocations: 96.12 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.2271, allocations: 23.66 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.2272, allocations: 25.7 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.4e-05/0.2273, allocations: 322.8 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.163e-05/0.2273, allocations: 16 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.521e-05/0.2274, allocations: 43.42 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.024e-05/0.2274, allocations: 75.36 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2274, allocations: 0 / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000121/0.2276, allocations: 93.84 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2276, allocations: 8 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2276, allocations: 3.984 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.537e-06/0.2276, allocations: 0 / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/0.2277, allocations: 11.94 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2277, allocations: 4 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.2278, allocations: 15.92 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.2278, allocations: 7.938 kB / 1.057 GB, free: 4.008 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.043e-05/0.2279, allocations: 117.8 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.2279, allocations: 0 / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.2279, allocations: 11.97 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2279, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2279, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2279, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.2283, allocations: 370.3 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.2283, allocations: 4.469 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.471e-05/0.2283, allocations: 0 / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2283, allocations: 7.938 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.2283, allocations: 0 / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2283, allocations: 3.938 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2283, allocations: 3.938 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.2285, allocations: 183.5 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.2285, allocations: 88.95 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.2285, allocations: 0 / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.079e-05/0.2286, allocations: 11.92 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.2287, allocations: 11.98 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.2287, allocations: 0 / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.441e-05/0.2287, allocations: 83.28 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2287, allocations: 0 / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002224/0.2289, allocations: 12 kB / 1.058 GB, free: 3.016 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.0003454/0.2293, allocations: 0.7203 MB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.2294, allocations: 63.91 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2294, allocations: 0 / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.557e-05/0.2295, allocations: 20 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.2297, allocations: 28.7 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009695/0.2307, allocations: 1.365 MB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.2309, allocations: 0.6924 MB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.498e-05/0.2309, allocations: 4.375 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.231, allocations: 15.44 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.231, allocations: 0 / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7459/0.9769, allocations: 1.613 MB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003147/0.9773, allocations: 216.1 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.54, allocations: 0 / 1.062 GB, free: 14.24 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