Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",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.0077/0.0077, allocations: 102.5 kB / 15.73 MB, free: 6.008 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.001747/0.001747, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.12 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.231/2.231, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.91 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7199/0.7212, allocations: 140.4 MB / 1.088 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.003538/0.7248, allocations: 1.926 MB / 1.089 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.7264, allocations: 1.114 MB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.7266, allocations: 3.281 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003988/0.727, allocations: 116.6 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.7273, allocations: 106.6 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.7277, allocations: 141.9 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.728, allocations: 215.8 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.7282, allocations: 43.62 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.7283, allocations: 89.92 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.7285, allocations: 101.2 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.7285, allocations: 10.75 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.7287, allocations: 55.39 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.305e-05/0.7288, allocations: 59.95 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.847e-05/0.7289, allocations: 81.16 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.7293, allocations: 289.3 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7293, allocations: 0 / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7293, allocations: 0.7188 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.7293, allocations: 0 / 1.092 GB, free: 2.586 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007294/0.73, allocations: 0.5391 MB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.7301, allocations: 10.8 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.849e-05/0.7301, allocations: 33.94 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.075e-05/0.7302, allocations: 23.34 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.7307, allocations: 391.2 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.7307, allocations: 8.078 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.7307, allocations: 12.62 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.7309, allocations: 80.34 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.7309, allocations: 0 / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.7309, allocations: 4.969 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.7309, allocations: 2.125 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.731, allocations: 42.45 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.7316, allocations: 408.6 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.7319, allocations: 85.98 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.376e-05/0.732, allocations: 29.28 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.732, allocations: 4.781 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.7321, allocations: 76.56 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.542e-06/0.7322, allocations: 0 / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003164/0.7325, allocations: 137.2 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.7325, allocations: 52.2 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.7328, allocations: 310.3 kB / 1.094 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.7328, allocations: 27.52 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.7329, allocations: 152.2 kB / 1.094 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.733, allocations: 21.17 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.704e-05/0.733, allocations: 44.86 kB / 1.094 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.715e-05/0.7331, allocations: 338.5 kB / 1.094 GB, free: 400 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/0.7332, allocations: 42.44 kB / 1.095 GB, free: 384 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.7333, allocations: 63.91 kB / 1.095 GB, free: 348 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.7335, allocations: 76.06 kB / 1.095 GB, free: 308 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7335, allocations: 4 kB / 1.095 GB, free: 304 kB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002798/0.7338, allocations: 166.5 kB / 1.095 GB, free: 216 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.7338, allocations: 6.625 kB / 1.095 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.7338, allocations: 0 / 1.095 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.7338, allocations: 5.781 kB / 1.095 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.734, allocations: 24.95 kB / 1.095 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.734, allocations: 2.094 kB / 1.095 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.7341, allocations: 15.53 kB / 1.095 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.7341, allocations: 7.188 kB / 1.095 GB, free: 204 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001448/0.7343, allocations: 157.8 kB / 1.095 GB, free: 68 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.7343, allocations: 22.89 kB / 1.095 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.7344, allocations: 30.91 kB / 1.095 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.7344, allocations: 0.7812 kB / 1.095 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.7344, allocations: 1.453 kB / 1.095 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7344, allocations: 0 / 1.095 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.7346, allocations: 241.5 kB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7347, allocations: 8.719 kB / 1.095 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.7347, allocations: 4.547 kB / 1.095 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.7347, allocations: 4.5 kB / 1.095 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.7347, allocations: 14.41 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.7347, allocations: 0 / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7347, allocations: 1.906 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.735, allocations: 127.3 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.735, allocations: 99.53 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.7351, allocations: 17.95 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.954e-05/0.7352, allocations: 13.56 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.7352, allocations: 13.75 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.7353, allocations: 2.891 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002467/0.7355, allocations: 217.1 kB / 1.096 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7355, allocations: 0 / 1.096 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000263/0.7358, allocations: 40.17 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 3 (timTabLin.tab.nextTimeEventScaled,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001437/0.7372, allocations: 0.9786 MB / 1.097 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.7375, allocations: 101.1 kB / 1.097 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.7375, allocations: 3.938 kB / 1.097 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.715e-05/0.7376, allocations: 29.06 kB / 1.097 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.738, allocations: 66.91 kB / 1.097 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.7409, allocations: 2.21 MB / 1.099 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.7414, allocations: 0.749 MB / 1.1 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.7415, allocations: 39.47 kB / 1.1 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.7417, allocations: 79.41 kB / 1.1 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of SimCode: time 2.81e-07/0.7417, allocations: 0 / 1.1 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.7684, allocations: 5.222 MB / 1.105 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/8.556, allocations: 9 kB / 1.105 GB, free: 11.62 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches