Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.GreaterEqual,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqual",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqual",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.008208/0.008208, 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.002034/0.002034, allocations: 202.3 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.713/2.713, allocations: 469.4 MB / 0.7422 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.91 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2817, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual): time 0.003587/0.2854, allocations: 1.998 MB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002212/0.2876, allocations: 1.204 MB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.2878, allocations: 7.938 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004886/0.2884, allocations: 147.5 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004737/0.2889, allocations: 163.4 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006225/0.2895, allocations: 222.8 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004333/0.2899, allocations: 319.2 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.2901, allocations: 36.39 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/0.2904, allocations: 159.4 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.2906, allocations: 151.4 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.2907, allocations: 16 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.2909, allocations: 55.97 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.291, allocations: 87.72 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.2911, allocations: 119.2 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.2916, allocations: 370.4 kB / 1.225 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2916, allocations: 0 / 1.225 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2916, allocations: 0 / 1.225 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.2916, allocations: 0 / 1.225 GB, free: 9.594 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001151/0.2928, allocations: 0.6511 MB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2928, allocations: 8.031 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.944e-05/0.2929, allocations: 42.73 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.008e-05/0.293, allocations: 32.7 kB / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/0.2935, allocations: 382.1 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.2936, allocations: 11.92 kB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.2936, allocations: 8 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.2939, allocations: 107.7 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.2939, allocations: 0 / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.2939, allocations: 7.984 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.2939, allocations: 8 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.2941, allocations: 55.91 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008169/0.2949, allocations: 0.4887 MB / 1.226 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.2953, allocations: 138.8 kB / 1.227 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.2954, allocations: 48.83 kB / 1.227 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.2954, allocations: 3.938 kB / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.2957, allocations: 115.2 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 8.215e-06/0.2957, allocations: 4 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005421/0.2962, allocations: 221.4 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.2963, allocations: 59.39 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005588/0.2969, allocations: 0.5054 MB / 1.227 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.2969, allocations: 29.7 kB / 1.227 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.297, allocations: 168.5 kB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.2971, allocations: 39.69 kB / 1.228 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.2972, allocations: 69.97 kB / 1.228 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2973, allocations: 350.8 kB / 1.228 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.2975, allocations: 96.52 kB / 1.228 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.2977, allocations: 135.6 kB / 1.228 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.2981, allocations: 187 kB / 1.228 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2981, allocations: 0 / 1.228 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005371/0.2986, allocations: 325.3 kB / 1.229 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2986, allocations: 7.938 kB / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2987, allocations: 0 / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.2987, allocations: 4 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.2989, allocations: 43.97 kB / 1.229 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2989, allocations: 7.938 kB / 1.229 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.2991, allocations: 23.94 kB / 1.229 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.2991, allocations: 12 kB / 1.229 GB, free: 5.004 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intGreEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.0001848/0.2993, allocations: 187.1 kB / 1.229 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.2994, allocations: 35.7 kB / 1.229 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.021e-05/0.2995, allocations: 35.12 kB / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.2995, allocations: 0 / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.2995, allocations: 7.984 kB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2995, allocations: 0 / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.2998, allocations: 297.4 kB / 1.229 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2998, allocations: 4 kB / 1.229 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.2998, allocations: 19.98 kB / 1.229 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.2999, allocations: 3.938 kB / 1.229 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.2999, allocations: 3.984 kB / 1.229 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2999, allocations: 8 kB / 1.229 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2999, allocations: 3.938 kB / 1.229 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.3003, allocations: 215.5 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.3004, allocations: 112.8 kB / 1.23 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.3004, allocations: 12 kB / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3006, allocations: 7.984 kB / 1.23 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.3006, allocations: 23.97 kB / 1.23 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3006, allocations: 4 kB / 1.23 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003276/0.301, allocations: 315.1 kB / 1.23 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.301, allocations: 0 / 1.23 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003028/0.3013, allocations: 63.88 kB / 1.23 GB, free: 3.582 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: 9 ($whenCondition2,$whenCondition1,intGreEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001537/0.3028, allocations: 1.058 MB / 1.231 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004117/0.3033, allocations: 199.4 kB / 1.231 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3033, allocations: 0 / 1.231 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.3034, allocations: 60.02 kB / 1.231 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.3039, allocations: 92.27 kB / 1.232 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/0.3079, allocations: 3.121 MB / 1.235 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.3082, allocations: 0.787 MB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.3084, allocations: 54.94 kB / 1.235 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.3085, allocations: 107.4 kB / 1.236 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.3085, allocations: 0 / 1.236 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.3335, allocations: 7.158 MB / 1.243 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.216, allocations: 17.86 kB / 1.243 GB, free: 7.117 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual_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_GreaterEqual.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches