Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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.001477/0.001477, 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.001504/0.001504, allocations: 188.9 kB / 16.25 MB, free: 6.633 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.279/1.279, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.531/2.531, allocations: 469.8 MB / 0.7421 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 67.69 kB / 0.9082 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2257, allocations: 159.2 MB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001585/0.2273, allocations: 0.7292 MB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.2286, allocations: 1.159 MB / 1.065 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/0.2286, allocations: 0 / 1.065 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.2286, allocations: 3.938 kB / 1.065 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.041e-05/0.2287, allocations: 7.938 kB / 1.065 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.2291, allocations: 134.7 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.2293, allocations: 147.7 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.813e-05/0.2293, allocations: 12 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.088e-05/0.2294, allocations: 59.89 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.319e-05/0.2295, allocations: 43.88 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.2295, allocations: 12 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.352e-05/0.2296, allocations: 31.97 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.2296, allocations: 19.92 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.638e-05/0.2297, allocations: 55.83 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.2298, allocations: 123.9 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2299, allocations: 4 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2299, allocations: 4 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.2299, allocations: 0 / 1.066 GB, free: 11.9 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005036/0.2304, allocations: 413.1 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.2304, allocations: 12.03 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.2305, allocations: 38.67 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.2305, allocations: 12.84 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.2308, allocations: 204.5 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.2309, allocations: 16.38 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.2309, allocations: 12.36 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.2311, allocations: 85.95 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.2311, allocations: 3.938 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.2311, allocations: 7.922 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2311, allocations: 4 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.452e-05/0.2312, allocations: 43.97 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.2317, allocations: 364.5 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.2318, allocations: 94.58 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.109e-05/0.2319, allocations: 48.77 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.2319, allocations: 3.984 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.2322, allocations: 129.1 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.2322, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0003299/0.2325, allocations: 197.5 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.2325, allocations: 59.41 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.537e-05/0.2326, allocations: 109.8 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.2327, allocations: 33.7 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.2327, allocations: 92.12 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.2328, allocations: 23.86 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-05/0.2328, allocations: 53.69 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.233, allocations: 326.8 kB / 1.068 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.255e-05/0.2331, allocations: 43.98 kB / 1.068 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.2332, allocations: 95.78 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.2333, allocations: 140 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2334, allocations: 0 / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003095/0.2337, allocations: 207.1 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.2337, allocations: 37.69 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.2337, allocations: 320 / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2337, allocations: 4.125 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/0.2338, allocations: 15.94 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.2338, allocations: 0 / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.234, allocations: 35.91 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.234, allocations: 15.97 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 9.694e-05/0.2341, allocations: 129.7 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.2341, allocations: 11.89 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.2342, allocations: 16.5 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2342, allocations: 3.938 kB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2342, allocations: 3.938 kB / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2342, allocations: 0 / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.2346, allocations: 435.2 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2346, allocations: 0 / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.2346, allocations: 4 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2346, allocations: 4 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.2347, allocations: 3.984 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2347, allocations: 7.938 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2347, allocations: 3.938 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.2349, allocations: 260.7 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.235, allocations: 88.94 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.235, allocations: 8 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.2351, allocations: 11.98 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.2351, allocations: 15.92 kB / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.2352, allocations: 15.98 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.005e-05/0.2352, allocations: 83.28 kB / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.2352, allocations: 0 / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002394/0.2354, allocations: 35.98 kB / 1.07 GB, free: 7.473 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005386/0.236, allocations: 0.8029 MB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.2363, allocations: 207.3 kB / 1.071 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.2363, allocations: 0 / 1.071 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.976e-05/0.2364, allocations: 65.98 kB / 1.071 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.2366, allocations: 19.92 kB / 1.071 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.2382, allocations: 1.701 MB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.2385, allocations: 0.6962 MB / 1.073 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.137e-05/0.2385, allocations: 12.55 kB / 1.073 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.2386, allocations: 19.44 kB / 1.073 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.2386, allocations: 0 / 1.073 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.08/2.319, allocations: 2.609 MB / 1.076 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004649/2.319, allocations: 224.5 kB / 1.076 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.147/5.466, allocations: 6.453 kB / 1.076 GB, free: 1.078 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed Variables in the result:booPul.period,booPul.shift,booPul.width,booPul.y,noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,time