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.008141/0.008141, allocations: 102 kB / 15.73 MB, free: 6.051 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.001607/0.001607, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.403/2.403, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 63.91 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.839/0.8408, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.002259/0.8431, allocations: 0.7869 MB / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.8443, allocations: 0.8686 MB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.8443, allocations: 0 / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.8444, allocations: 3.938 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.957e-05/0.8445, allocations: 15.88 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.8447, allocations: 31.95 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.8448, allocations: 91.75 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.845, allocations: 27.98 kB / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.313e-05/0.8451, allocations: 39.84 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.434e-05/0.8452, allocations: 47.81 kB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.8452, allocations: 11.94 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.946e-05/0.8452, allocations: 8 kB / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.454e-05/0.8453, allocations: 27.92 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.8453, allocations: 39.78 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.8455, allocations: 83.66 kB / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8455, allocations: 0 / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8455, allocations: 0 / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.8455, allocations: 0 / 1.168 GB, free: 1.715 MB / 0.8887 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.0006889/0.8462, allocations: 393.5 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.8463, allocations: 12.92 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.8463, allocations: 42.73 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.8464, allocations: 8.844 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.8465, allocations: 176.2 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.8466, allocations: 4.375 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.8466, allocations: 12.12 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.8469, allocations: 107.3 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.8469, allocations: 0 / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.8469, allocations: 0 / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.8469, allocations: 4 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.8473, allocations: 99.89 kB / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.8478, allocations: 348.5 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.8485, allocations: 122.6 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.8487, allocations: 56.81 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.8487, allocations: 0 / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.8487, allocations: 30.56 kB / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.8487, allocations: 7.875 kB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.000675/0.8494, allocations: 185.5 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.8495, allocations: 51.41 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.8496, allocations: 121.8 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.8496, allocations: 25.7 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.003e-05/0.8497, allocations: 104 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.8497, allocations: 23.64 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.8498, allocations: 21.7 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.8499, allocations: 322.8 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.8501, allocations: 43.95 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.8502, allocations: 43.95 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.8506, allocations: 100.7 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8506, allocations: 0 / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000386/0.851, allocations: 126.1 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.851, allocations: 12 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.851, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.851, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.8512, allocations: 27.91 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.8512, allocations: 3.938 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.8513, allocations: 23.89 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.8514, allocations: 3.984 kB / 1.171 GB, free: 14.88 MB / 0.9044 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 0.0001/0.8515, allocations: 117.8 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.8515, allocations: 8 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.8515, allocations: 8.375 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.8515, allocations: 4 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.8516, allocations: 3.938 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.8516, allocations: 0 / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.8518, allocations: 201.5 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.8518, allocations: 0 / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.852, allocations: 27.91 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.852, allocations: 0 / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.852, allocations: 12 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.852, allocations: 4.062 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.852, allocations: 7.922 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.8524, allocations: 223.4 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.8525, allocations: 85 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.8525, allocations: 4 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.8527, allocations: 15.98 kB / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.291e-05/0.8528, allocations: 23.91 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.8528, allocations: 8 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.417e-05/0.8528, allocations: 95.64 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8528, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002301/0.8531, allocations: 15.94 kB / 1.172 GB, free: 13.93 MB / 0.9044 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.0007657/0.8539, allocations: 0.7709 MB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004039/0.8543, allocations: 111.8 kB / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8543, allocations: 0 / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.8545, allocations: 59.95 kB / 1.172 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.8548, allocations: 11.92 kB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.8571, allocations: 1.541 MB / 1.174 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.8574, allocations: 0.6924 MB / 1.175 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.437e-05/0.8575, allocations: 12.17 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.378e-05/0.8576, allocations: 31.42 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of SimCode: time 5.11e-07/0.8576, allocations: 3.938 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.8767, allocations: 2.714 MB / 1.177 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.772, allocations: 7.953 kB / 1.177 GB, free: 7.949 MB / 0.9044 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Greater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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) "" Variables in the reference:time,intGre.u1,intGre.u2,intGre.y Variables in the result:intGre.u1,intGre.u2,intGre.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,reaToInt.u,reaToInt.y,reaToInt1.u,reaToInt1.y,round1.n,round1.u,round1.y,round2.n,round2.u,round2.y,time