Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_10_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.01151/0.01151, allocations: 98.97 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.002474/0.002474, allocations: 201.3 kB / 16.68 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 2.732/2.732, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.999/4.999, allocations: 437.1 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003496/0.003496, allocations: 67.89 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781/1.785, allocations: 151.6 MB / 1.166 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.004039/1.789, allocations: 0.7094 MB / 1.167 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002009/1.791, allocations: 0.8414 MB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-05/1.791, allocations: 0 / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.257e-05/1.791, allocations: 7.938 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/1.792, allocations: 3.938 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/1.792, allocations: 19.97 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001816/1.792, allocations: 47.91 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/1.792, allocations: 19.92 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/1.792, allocations: 15.92 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/1.793, allocations: 31.84 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/1.793, allocations: 8 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-05/1.793, allocations: 4 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/1.793, allocations: 11.98 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.438e-05/1.793, allocations: 19.86 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/1.793, allocations: 43.86 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/1.793, allocations: 3.938 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.036e-06/1.793, allocations: 0 / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.175e-06/1.793, allocations: 0 / 1.168 GB, free: 1.938 MB / 0.8887 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.0009557/1.794, allocations: 367 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.041e-05/1.794, allocations: 12.62 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.678e-05/1.794, allocations: 34.75 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/1.794, allocations: 0.9375 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/1.795, allocations: 168.3 kB / 1.168 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/1.795, allocations: 4.375 kB / 1.168 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/1.795, allocations: 8.125 kB / 1.168 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/1.795, allocations: 65.64 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/1.795, allocations: 3.984 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/1.795, allocations: 4 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/1.795, allocations: 4 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/1.796, allocations: 55.89 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/1.796, allocations: 284.7 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/1.797, allocations: 66.56 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/1.797, allocations: 32.89 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/1.797, allocations: 7.922 kB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/1.797, allocations: 34.5 kB / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 2.224e-06/1.797, allocations: 4 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0007242/1.798, allocations: 101.6 kB / 1.169 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/1.798, allocations: 59.41 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/1.798, allocations: 109.9 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/1.798, allocations: 25.7 kB / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/1.798, allocations: 88.09 kB / 1.169 GB, free: 228 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/1.798, allocations: 7.953 kB / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/1.798, allocations: 21.7 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002334/1.799, allocations: 314.8 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/1.799, allocations: 31.91 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/1.799, allocations: 31.97 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/1.799, allocations: 44.83 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.799, allocations: 0 / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004407/1.8, allocations: 85.59 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/1.8, allocations: 7.938 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/1.8, allocations: 4 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/1.8, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/1.8, allocations: 15.98 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/1.8, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/1.8, allocations: 15.92 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/1.8, allocations: 7.938 kB / 1.17 GB, free: 15.62 MB / 0.9044 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 0.000161/1.8, allocations: 109.8 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/1.8, allocations: 3.984 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/1.8, allocations: 11.91 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.801, allocations: 4.328 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/1.801, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/1.801, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/1.801, allocations: 177.6 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.801, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/1.801, allocations: 15.98 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/1.801, allocations: 0 / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/1.801, allocations: 4 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.801, allocations: 3.938 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.801, allocations: 320 / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/1.802, allocations: 191.3 kB / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.777e-05/1.802, allocations: 81.05 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/1.802, allocations: 4 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/1.802, allocations: 7.984 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/1.802, allocations: 11.98 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/1.802, allocations: 4 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001023/1.802, allocations: 99.19 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/1.802, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004218/1.803, allocations: 7.953 kB / 1.171 GB, free: 14.8 MB / 0.9044 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.001146/1.804, allocations: 0.7125 MB / 1.171 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004795/1.804, allocations: 55.89 kB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.804, allocations: 0 / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002195/1.805, allocations: 31.97 kB / 1.171 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/1.805, allocations: 7.984 kB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/1.808, allocations: 1.319 MB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/1.809, allocations: 0.6846 MB / 1.173 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.434e-05/1.809, allocations: 7.938 kB / 1.173 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.885e-05/1.809, allocations: 19.42 kB / 1.173 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of SimCode: time 7.42e-07/1.809, allocations: 4 kB / 1.173 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07446/1.884, allocations: 1.835 MB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.57/19.45, allocations: 21.5 kB / 1.175 GB, free: 10.09 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches