Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.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.Greater,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",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.006672/0.006672, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001572/0.001572, allocations: 202.4 kB / 16.68 MB, free: 5.969 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.586/2.586, allocations: 437.1 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2849, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.002231/0.2872, allocations: 0.7769 MB / 1.167 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.2883, allocations: 0.8623 MB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.469e-05/0.2884, allocations: 8 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.002e-05/0.2885, allocations: 3.938 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.2886, allocations: 15.86 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.2888, allocations: 35.89 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.2889, allocations: 87.81 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2891, allocations: 27.98 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.25e-05/0.2892, allocations: 43.78 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.065e-05/0.2892, allocations: 47.83 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.2893, allocations: 8 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.688e-05/0.2893, allocations: 8 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.933e-05/0.2893, allocations: 23.89 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.2894, allocations: 39.8 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.2895, allocations: 83.94 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2895, allocations: 0 / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2896, allocations: 3.938 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.2896, allocations: 4 kB / 1.168 GB, free: 5.207 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006629/0.2902, allocations: 399.1 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2903, allocations: 8.031 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.097e-05/0.2903, allocations: 38.75 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.2904, allocations: 8.891 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.2905, allocations: 180.2 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.2905, allocations: 4.375 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.2906, allocations: 8.125 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.2909, allocations: 105.6 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.2909, allocations: 0 / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2909, allocations: 0 / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2909, allocations: 4 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003546/0.2913, allocations: 95.91 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.2918, allocations: 352.6 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/0.2925, allocations: 122.5 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.2927, allocations: 52.81 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.2927, allocations: 4 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.2927, allocations: 38.55 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2927, allocations: 0 / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006618/0.2934, allocations: 181.5 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.2935, allocations: 51.41 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.2936, allocations: 129.7 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.2936, allocations: 25.7 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.2937, allocations: 92.09 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.2937, allocations: 27.78 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.2938, allocations: 29.64 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2939, allocations: 318.8 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.2941, allocations: 47.95 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.2943, allocations: 43.95 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.2946, allocations: 96.77 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2946, allocations: 4 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004057/0.295, allocations: 133.5 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.2951, allocations: 4 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2951, allocations: 3.938 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.2951, allocations: 3.984 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.2953, allocations: 23.92 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.2953, allocations: 11.92 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.2954, allocations: 15.98 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.2954, allocations: 4 kB / 1.171 GB, free: 2.359 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: 3 (reaToInt1.y,reaToInt.y,intGre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.436e-05/0.2955, allocations: 117.8 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.2956, allocations: 7.938 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.2956, allocations: 16.36 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2956, allocations: 0 / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2956, allocations: 3.938 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2956, allocations: 4 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.2959, allocations: 197.6 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2959, allocations: 0 / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.296, allocations: 23.97 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.296, allocations: 0 / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2961, allocations: 4 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2961, allocations: 0 / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2961, allocations: 3.938 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004644/0.2965, allocations: 239.9 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.2966, allocations: 89 kB / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.2966, allocations: 0 / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.2968, allocations: 15.97 kB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/0.2969, allocations: 23.92 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.2969, allocations: 7.984 kB / 1.171 GB, free: 1.527 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.297, allocations: 103.2 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.297, allocations: 0 / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002477/0.2972, allocations: 12 kB / 1.172 GB, free: 1.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: 3 (intGre.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007863/0.298, allocations: 0.771 MB / 1.172 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004278/0.2984, allocations: 99.91 kB / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2985, allocations: 4 kB / 1.172 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.2987, allocations: 63.88 kB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.299, allocations: 13.66 kB / 1.173 GB, free: 452 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.3012, allocations: 1.533 MB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.3015, allocations: 0.6885 MB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.845e-05/0.3015, allocations: 15.94 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.917e-05/0.3016, allocations: 31.42 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.3016, allocations: 0 / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.3202, allocations: 2.712 MB / 1.177 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.858, allocations: 7.953 kB / 1.177 GB, free: 11.45 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_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_Greater.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches