Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_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.005977/0.005977, allocations: 105.9 kB / 15.73 MB, free: 6 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.001257/0.001257, allocations: 189 kB / 16.67 MB, free: 5.926 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.286/2.286, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 63.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8549/0.8573, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001844/0.8591, allocations: 0.7066 MB / 1.088 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009455/0.8601, allocations: 0.8365 MB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.8602, allocations: 1.188 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.8602, allocations: 4.453 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.924e-05/0.8603, allocations: 13.66 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.8605, allocations: 22.03 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.8606, allocations: 40.88 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.8607, allocations: 17.47 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.045e-05/0.8608, allocations: 26.08 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.44e-05/0.8609, allocations: 21.33 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.8609, allocations: 4.438 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.8609, allocations: 3.906 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.8609, allocations: 11.95 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.861, allocations: 17.42 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.8611, allocations: 55.27 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.8611, allocations: 0.6094 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8611, allocations: 5 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.8611, allocations: 4 kB / 1.089 GB, free: 4.059 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004582/0.8616, allocations: 360.1 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.8616, allocations: 10.09 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.9e-05/0.8617, allocations: 36.84 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.8617, allocations: 7.281 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.8618, allocations: 165 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.8618, allocations: 1.719 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.8619, allocations: 6.688 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.8621, allocations: 68.23 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.8621, allocations: 0 / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.8621, allocations: 9.641 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.8621, allocations: 0 / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.8623, allocations: 48.66 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.8627, allocations: 293.9 kB / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.8629, allocations: 69.22 kB / 1.09 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.8631, allocations: 29.83 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.8631, allocations: 0 / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.8631, allocations: 32.09 kB / 1.09 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.8631, allocations: 0 / 1.09 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004198/0.8635, allocations: 114.1 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.8636, allocations: 52.22 kB / 1.09 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.977e-05/0.8636, allocations: 111.2 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.8637, allocations: 30.86 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.8637, allocations: 86.42 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.8637, allocations: 14.55 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.8638, allocations: 23.33 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.8638, allocations: 321.3 kB / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.8639, allocations: 26.83 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.964e-05/0.864, allocations: 23.78 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.8642, allocations: 49.27 kB / 1.091 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8643, allocations: 1.344 kB / 1.091 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002443/0.8645, allocations: 86.16 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.8645, allocations: 6.672 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.8645, allocations: 4 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-05/0.8646, allocations: 0.9688 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.8647, allocations: 15.22 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.8647, allocations: 1.125 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.103e-05/0.8648, allocations: 12.52 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.8648, allocations: 5.797 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.795e-05/0.8649, allocations: 116.8 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.8649, allocations: 1.812 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.865, allocations: 13.7 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.865, allocations: 1.922 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.865, allocations: 0 / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.865, allocations: 1.125 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.8651, allocations: 174.6 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8651, allocations: 0 / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.431e-05/0.8652, allocations: 12.44 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.8652, allocations: 4 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.8653, allocations: 1.547 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.8653, allocations: 0.6562 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8653, allocations: 1.094 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.8656, allocations: 186.7 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.8656, allocations: 79.88 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.8656, allocations: 4.656 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.8658, allocations: 8.328 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/0.8658, allocations: 12.05 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.8658, allocations: 1.609 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.341e-05/0.8659, allocations: 96.17 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8659, allocations: 0 / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002326/0.8661, allocations: 6.688 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0005665/0.8667, allocations: 0.7179 MB / 1.093 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002898/0.867, allocations: 60.03 kB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.867, allocations: 5 kB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.8672, allocations: 37.67 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.8675, allocations: 3.562 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.8692, allocations: 1.316 MB / 1.094 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.8695, allocations: 0.6808 MB / 1.095 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.524e-05/0.8696, allocations: 9.031 kB / 1.095 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.8697, allocations: 22.11 kB / 1.095 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.8697, allocations: 3.938 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.8949, allocations: 1.835 MB / 1.097 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.745, allocations: 7.281 kB / 1.097 GB, free: 14.51 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches