Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.009475/0.009475, allocations: 103.8 kB / 15.74 MB, free: 6.445 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.001996/0.001996, allocations: 196.3 kB / 16.67 MB, free: 6.352 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.543/2.543, allocations: 437.1 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 64.14 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2692, allocations: 151.6 MB / 1.166 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002019/0.2713, allocations: 0.7053 MB / 1.167 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009956/0.2723, allocations: 0.8432 MB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.2723, allocations: 0 / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.2724, allocations: 7.922 kB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.657e-05/0.2725, allocations: 7.938 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.2726, allocations: 19.97 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.2727, allocations: 43.91 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2728, allocations: 16 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.2729, allocations: 19.92 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.491e-05/0.273, allocations: 31.83 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.273, allocations: 8 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.273, allocations: 4 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.273, allocations: 11.92 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.2731, allocations: 15.94 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.2732, allocations: 52 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2732, allocations: 0 / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2732, allocations: 4 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2732, allocations: 0 / 1.168 GB, free: 5.555 MB / 0.92 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.0004909/0.2737, allocations: 359.3 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2737, allocations: 12.03 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.237e-05/0.2738, allocations: 30.75 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.2738, allocations: 8.938 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.274, allocations: 176.3 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.274, allocations: 4.375 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.274, allocations: 4.125 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.2742, allocations: 73.59 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.2742, allocations: 0 / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.2742, allocations: 4 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2742, allocations: 0 / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.2745, allocations: 47.95 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.2749, allocations: 304.7 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.2751, allocations: 62.48 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.2752, allocations: 28.91 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.2752, allocations: 4 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.2753, allocations: 30.56 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2753, allocations: 0 / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004267/0.2757, allocations: 113.6 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.2757, allocations: 51.41 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.485e-05/0.2758, allocations: 109.8 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.2759, allocations: 25.7 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.2759, allocations: 96.08 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.2759, allocations: 7.891 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.276, allocations: 21.72 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.2761, allocations: 326.8 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.2762, allocations: 19.98 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.539e-05/0.2763, allocations: 23.97 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.2765, allocations: 48.81 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2765, allocations: 0 / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002385/0.2767, allocations: 93.55 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2768, allocations: 7.984 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.2768, allocations: 4 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2768, allocations: 0 / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.2769, allocations: 11.98 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2769, allocations: 0 / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.965e-05/0.277, allocations: 7.984 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.277, allocations: 3.938 kB / 1.17 GB, free: 3.242 MB / 0.92 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,intGreThr.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.372e-05/0.2771, allocations: 123.8 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.2772, allocations: 0 / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.2772, allocations: 7.906 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2772, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2772, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2772, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.2774, allocations: 181.6 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2774, allocations: 0 / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.161e-05/0.2775, allocations: 11.98 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2775, allocations: 4 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.2775, allocations: 0 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2775, allocations: 320 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2775, allocations: 0 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.2778, allocations: 191.6 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.2779, allocations: 85.11 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.2779, allocations: 7.984 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.278, allocations: 4 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.2781, allocations: 11.98 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.2781, allocations: 0 / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.218e-05/0.2781, allocations: 99.19 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.913e-06/0.2782, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000235/0.2784, allocations: 15.89 kB / 1.171 GB, free: 2.414 MB / 0.92 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 (intGreThr.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.0005813/0.279, allocations: 0.7202 MB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.2793, allocations: 55.94 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2793, allocations: 0 / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.2794, allocations: 39.91 kB / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.2797, allocations: 4 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.2812, allocations: 1.315 MB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.2814, allocations: 0.6807 MB / 1.173 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.255e-05/0.2815, allocations: 8 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.2815, allocations: 19.42 kB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.2815, allocations: 0 / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.2987, allocations: 1.846 MB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/7.683, allocations: 7.891 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_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_GreaterThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches