Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,fileNamePrefix="Buildings_latest_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.001347/0.001347, allocations: 108 kB / 15.6 MB, free: 132 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.001368/0.001368, allocations: 196.1 kB / 16.53 MB, free: 6.391 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.608/2.608, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001313, allocations: 65.77 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2665, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.002056/0.2686, allocations: 0.7866 MB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.2696, allocations: 0.8484 MB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.2697, allocations: 3.938 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.2698, allocations: 11.86 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.03e-05/0.2698, allocations: 15.88 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.27, allocations: 39.94 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.2701, allocations: 83.83 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2702, allocations: 20 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.2703, allocations: 43.83 kB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.255e-05/0.2704, allocations: 47.83 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.2704, allocations: 8 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.709e-05/0.2705, allocations: 8 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.2705, allocations: 23.91 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.2705, allocations: 35.78 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.2707, allocations: 83.73 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2707, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.01e-07/0.2707, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.2707, allocations: 0 / 1.066 GB, free: 12.43 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005909/0.2713, allocations: 403.5 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2713, allocations: 8.031 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.2714, allocations: 38.75 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.2714, allocations: 8.844 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.2716, allocations: 180.2 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.2716, allocations: 4.375 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.2716, allocations: 12.31 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.2719, allocations: 101.5 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.2719, allocations: 4 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.2719, allocations: 4 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.272, allocations: 0 / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.2723, allocations: 99.84 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.2728, allocations: 344.6 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006055/0.2734, allocations: 122.5 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.2736, allocations: 52.81 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.2737, allocations: 8 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.2737, allocations: 30.56 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.2737, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006398/0.2744, allocations: 185.7 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.2744, allocations: 55.41 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/0.2745, allocations: 125.8 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.2745, allocations: 33.58 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.2746, allocations: 95.98 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.2746, allocations: 15.8 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.2747, allocations: 21.72 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.2748, allocations: 318.8 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.2749, allocations: 47.95 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.2751, allocations: 48.02 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.2755, allocations: 100.8 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2755, allocations: 4 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003983/0.2759, allocations: 133.5 kB / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.2759, allocations: 4 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.2759, allocations: 0 / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.2759, allocations: 0 / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.2761, allocations: 27.91 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2761, allocations: 0 / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.2763, allocations: 31.91 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.2763, allocations: 0 / 1.068 GB, free: 9.582 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: 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 8.681e-05/0.2764, allocations: 115.6 kB / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.2764, allocations: 7.906 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.2764, allocations: 12.36 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2764, allocations: 0 / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2764, allocations: 0 / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2765, allocations: 7.938 kB / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.2767, allocations: 201.5 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2767, allocations: 0 / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.2768, allocations: 23.97 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2768, allocations: 0 / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.2768, allocations: 7.938 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2769, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.2769, allocations: 7.938 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.2773, allocations: 239.3 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.2774, allocations: 85.02 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.2774, allocations: 3.938 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.2776, allocations: 15.97 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.79e-05/0.2777, allocations: 23.92 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.2777, allocations: 7.984 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.1e-05/0.2777, allocations: 95.28 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2777, allocations: 0 / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002464/0.278, allocations: 12 kB / 1.069 GB, free: 8.641 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: 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.0007858/0.2788, allocations: 0.7714 MB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004275/0.2792, allocations: 112 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2792, allocations: 0 / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.2794, allocations: 63.88 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.2798, allocations: 16.64 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.2818, allocations: 1.525 MB / 1.071 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.2821, allocations: 0.6924 MB / 1.072 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.991e-05/0.2822, allocations: 11.98 kB / 1.072 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.086e-05/0.2823, allocations: 27.42 kB / 1.072 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of SimCode: time 2.585e-06/0.2823, allocations: 0 / 1.072 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.3008, allocations: 2.677 MB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/7.314, allocations: 15.16 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Greater.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches