Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.001084/0.001084, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.605/2.605, allocations: 469.4 MB / 0.742 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 68.8 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2737, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001988/0.2757, allocations: 0.7034 MB / 1.064 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009246/0.2767, allocations: 0.8351 MB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.2767, allocations: 0 / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.2768, allocations: 0 / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.504e-05/0.2768, allocations: 7.938 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.277, allocations: 23.91 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.934e-05/0.2771, allocations: 55.84 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2772, allocations: 15.98 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.764e-05/0.2773, allocations: 15.92 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.2774, allocations: 23.92 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.2774, allocations: 4 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.2774, allocations: 8 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.2774, allocations: 15.97 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.2775, allocations: 19.86 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.741e-05/0.2776, allocations: 39.88 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2776, allocations: 0 / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2776, allocations: 0 / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2776, allocations: 0 / 1.065 GB, free: 12.71 MB / 0.8262 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.0004689/0.2781, allocations: 351.7 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2781, allocations: 12.03 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.2781, allocations: 34.75 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.2782, allocations: 16.83 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.2783, allocations: 176.2 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.2784, allocations: 8.359 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.2784, allocations: 384 / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.2786, allocations: 69.59 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2786, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.2786, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2787, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.2789, allocations: 59.94 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.2793, allocations: 292.6 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.2795, allocations: 58.55 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.2796, allocations: 38.58 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.2796, allocations: 4 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.2796, allocations: 30.56 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.2796, allocations: 3.938 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003911/0.28, allocations: 109.6 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.2802, allocations: 55.41 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.2802, allocations: 105.8 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.2803, allocations: 25.7 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.2804, allocations: 96.11 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.2804, allocations: 7.891 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.2805, allocations: 17.72 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.2807, allocations: 322.8 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.2808, allocations: 27.98 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.115e-05/0.2809, allocations: 23.97 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.2811, allocations: 52.75 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2811, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002341/0.2813, allocations: 85.64 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2813, allocations: 4 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2813, allocations: 4 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.2814, allocations: 4 kB / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.2815, allocations: 11.98 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2815, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.2816, allocations: 11.89 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.2816, allocations: 0 / 1.067 GB, free: 10.4 MB / 0.8262 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,intGreEquThr.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.639e-05/0.2817, allocations: 118.3 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.2817, allocations: 336 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.358e-05/0.2817, allocations: 11.91 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2817, allocations: 3.984 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2818, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2818, allocations: 3.938 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.2819, allocations: 181.5 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.282, allocations: 7.938 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.441e-05/0.282, allocations: 7.984 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2821, allocations: 4 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.2821, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2821, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2821, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.2824, allocations: 191.3 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.2824, allocations: 77.11 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.2825, allocations: 7.984 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.613e-05/0.2826, allocations: 4 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.2826, allocations: 11.98 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.2826, allocations: 4 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.367e-05/0.2827, allocations: 91.27 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2827, allocations: 3.938 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000217/0.2829, allocations: 11.88 kB / 1.068 GB, free: 9.574 MB / 0.8262 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 (intGreEquThr.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.0005772/0.2835, allocations: 0.7202 MB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.2838, allocations: 55.88 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2838, allocations: 0 / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.2839, allocations: 35.97 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.2842, allocations: 4 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.2858, allocations: 1.311 MB / 1.07 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.286, allocations: 0.6846 MB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.784e-05/0.2861, allocations: 8 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.2861, allocations: 19.42 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2861, allocations: 3.938 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.3035, allocations: 1.827 MB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.342, allocations: 7.875 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches