Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_11_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.004465/0.004466, allocations: 98.39 kB / 15.73 MB, free: 6.43 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.00129/0.00129, allocations: 191.8 kB / 16.67 MB, free: 6.336 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.861/2.861, allocations: 469.8 MB / 0.7425 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 59.91 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2729, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001733/0.2746, allocations: 0.7111 MB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009303/0.2756, allocations: 0.8312 MB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.413e-05/0.2756, allocations: 0 / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.2757, allocations: 3.938 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.021e-05/0.2757, allocations: 7.938 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.2759, allocations: 23.97 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.739e-05/0.276, allocations: 47.84 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.758e-05/0.2761, allocations: 19.98 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.787e-05/0.2762, allocations: 15.98 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.744e-05/0.2762, allocations: 27.84 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.2763, allocations: 11.94 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.2763, allocations: 4 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.2763, allocations: 4 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.2763, allocations: 27.84 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.167e-05/0.2764, allocations: 35.88 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2764, allocations: 3.984 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2764, allocations: 0 / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.2765, allocations: 0 / 1.222 GB, free: 12.5 MB / 0.9825 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.0005347/0.277, allocations: 367.3 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.277, allocations: 12.03 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.458e-05/0.2771, allocations: 30.75 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.2771, allocations: 12.83 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.2773, allocations: 168.4 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.2773, allocations: 4.375 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.2773, allocations: 4.125 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.2775, allocations: 77.58 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2775, allocations: 0 / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.2776, allocations: 0 / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2776, allocations: 0 / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.2778, allocations: 51.95 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.2782, allocations: 292.7 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.2784, allocations: 70.47 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.2786, allocations: 28.91 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.2786, allocations: 4 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.2786, allocations: 30.56 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2786, allocations: 0 / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004256/0.2791, allocations: 109.6 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.2791, allocations: 55.34 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.392e-05/0.2792, allocations: 109.8 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.2792, allocations: 25.7 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.2793, allocations: 92.09 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.2793, allocations: 4.031 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.2794, allocations: 21.7 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.2795, allocations: 326.8 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.2796, allocations: 23.97 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.947e-05/0.2797, allocations: 23.97 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.2799, allocations: 49.09 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2799, allocations: 0 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002644/0.2802, allocations: 97.53 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2802, allocations: 4 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2802, allocations: 8 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.2803, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.2804, allocations: 11.98 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2804, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.266e-05/0.2805, allocations: 7.984 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.2805, allocations: 3.938 kB / 1.224 GB, free: 10.18 MB / 0.9825 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 8.768e-05/0.2806, allocations: 117.8 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.2806, allocations: 3.984 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.2806, allocations: 7.906 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2807, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2807, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.2807, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.2809, allocations: 189.5 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2809, allocations: 7.875 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-05/0.281, allocations: 11.98 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.281, allocations: 0 / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.281, allocations: 4 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.281, allocations: 0 / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.281, allocations: 320 / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.2813, allocations: 183.4 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.2814, allocations: 85.06 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.2814, allocations: 0 / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.2815, allocations: 11.98 kB / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.2816, allocations: 11.98 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.2816, allocations: 0 / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.562e-05/0.2817, allocations: 99.19 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2817, allocations: 0 / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002312/0.2819, allocations: 11.94 kB / 1.225 GB, free: 9.352 MB / 0.9825 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.0006322/0.2826, allocations: 0.7207 MB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.2828, allocations: 51.94 kB / 1.225 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2828, allocations: 0 / 1.225 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.283, allocations: 31.98 kB / 1.225 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.2832, allocations: 17.5 kB / 1.225 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.2849, allocations: 1.323 MB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.2852, allocations: 0.6807 MB / 1.227 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.343e-05/0.2852, allocations: 8 kB / 1.227 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.2853, allocations: 19.42 kB / 1.227 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of SimCode: time 2.184e-06/0.2853, allocations: 0 / 1.227 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.3069, allocations: 1.853 MB / 1.229 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/7.99, allocations: 9.594 kB / 1.229 GB, free: 4.621 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches