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.008622/0.008621, allocations: 98.09 kB / 15.73 MB, free: 6.012 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.001949/0.001948, allocations: 193.6 kB / 16.67 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.624/1.624, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 71.83 kB / 0.9504 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8352/0.8366, allocations: 140.4 MB / 1.087 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002129/0.8388, allocations: 0.7064 MB / 1.088 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.8398, allocations: 0.8329 MB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.8399, allocations: 5.219 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.8399, allocations: 4.453 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.546e-05/0.84, allocations: 4.5 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.8402, allocations: 27.2 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.73e-05/0.8403, allocations: 48.95 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.8404, allocations: 12.77 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.736e-05/0.8405, allocations: 17.53 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.8405, allocations: 34.03 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.8406, allocations: 4.125 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.8406, allocations: 4.062 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.8406, allocations: 11.53 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.8406, allocations: 18.38 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.8408, allocations: 47.41 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.8408, allocations: 0.75 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8408, allocations: 0 / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.128e-06/0.8408, allocations: 0 / 1.089 GB, free: 4.047 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.0004593/0.8413, allocations: 364 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.8413, allocations: 9.562 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.736e-05/0.8414, allocations: 37.25 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.8414, allocations: 6.234 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.411e-05/0.8415, allocations: 173.4 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.8415, allocations: 9.438 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.8415, allocations: 6.344 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.8417, allocations: 64.81 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.8417, allocations: 0 / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.8418, allocations: 5.844 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.8418, allocations: 0.9375 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.842, allocations: 56.27 kB / 1.09 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.8424, allocations: 293.3 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.8426, allocations: 65.7 kB / 1.09 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.8428, allocations: 32.09 kB / 1.09 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.8428, allocations: 2.016 kB / 1.09 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.8428, allocations: 31.16 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.8428, allocations: 0 / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004624/0.8433, allocations: 114.5 kB / 1.09 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.8433, allocations: 55.92 kB / 1.09 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.453e-05/0.8434, allocations: 111 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.8434, allocations: 26.45 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.8435, allocations: 87.86 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.8435, allocations: 9.734 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.8436, allocations: 19.91 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.478e-05/0.8436, allocations: 318 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.8437, allocations: 34.39 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.889e-05/0.8438, allocations: 22.62 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.844, allocations: 53.75 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.844, allocations: 1.312 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002419/0.8443, allocations: 78.98 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.8443, allocations: 9.359 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.8443, allocations: 1.031 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.8443, allocations: 0 / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.8445, allocations: 15.58 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.8445, allocations: 1.703 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.663e-05/0.8446, allocations: 7.875 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.8446, allocations: 5.609 kB / 1.091 GB, free: 2.195 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.158e-05/0.8446, allocations: 111.3 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.8447, allocations: 6.781 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.8447, allocations: 17.44 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.8447, allocations: 0.6094 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.8447, allocations: 4.969 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.8447, allocations: 0.5156 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.8449, allocations: 174.5 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.8449, allocations: 0 / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.88e-05/0.845, allocations: 16 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.845, allocations: 1.094 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.845, allocations: 0.7969 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.845, allocations: 1.062 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.845, allocations: 4.797 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.8453, allocations: 183.5 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.8453, allocations: 83.66 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.8453, allocations: 9.062 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.8454, allocations: 7.672 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.8455, allocations: 15.38 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.8455, allocations: 2.891 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.582e-05/0.8456, allocations: 94.84 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8456, allocations: 0 / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002183/0.8458, allocations: 7.094 kB / 1.092 GB, free: 1.5 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.0005063/0.8463, allocations: 0.7176 MB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.8466, allocations: 56.42 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8466, allocations: 3.938 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.8467, allocations: 30.86 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.8471, allocations: 6.562 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.8487, allocations: 1.312 MB / 1.094 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.8489, allocations: 0.682 MB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.819e-05/0.849, allocations: 7.766 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.8491, allocations: 18.27 kB / 1.095 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.8491, allocations: 0 / 1.095 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.8682, allocations: 1.837 MB / 1.097 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/8.532, allocations: 5.328 kB / 1.097 GB, free: 14.49 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