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.006154/0.006154, allocations: 100.1 kB / 15.73 MB, free: 6.477 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.001246/0.001246, allocations: 191.3 kB / 16.67 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.777/2.777, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 59.91 kB / 1.054 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3307, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.002005/0.3327, allocations: 0.7651 MB / 1.208 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3338, allocations: 0.8546 MB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.3339, allocations: 4 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.3339, allocations: 11.86 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.19e-05/0.3341, allocations: 11.86 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.3342, allocations: 43.89 kB / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.3344, allocations: 79.81 kB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3345, allocations: 35.97 kB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.3346, allocations: 35.84 kB / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.258e-05/0.3347, allocations: 51.81 kB / 1.209 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.3348, allocations: 4 kB / 1.209 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.965e-05/0.3348, allocations: 8 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.3348, allocations: 23.92 kB / 1.209 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.3349, allocations: 31.86 kB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.3351, allocations: 99.58 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3351, allocations: 0 / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3351, allocations: 0 / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.3351, allocations: 0 / 1.209 GB, free: 8.105 MB / 0.9669 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.000788/0.3359, allocations: 405.6 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.336, allocations: 8.625 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.3e-05/0.336, allocations: 34.75 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.3361, allocations: 16.83 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.3363, allocations: 180.2 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.3363, allocations: 4.375 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.3363, allocations: 8.125 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.3366, allocations: 103.7 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3367, allocations: 0 / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.3367, allocations: 0 / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3367, allocations: 11.92 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/0.3371, allocations: 103.9 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.3377, allocations: 340.7 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006388/0.3383, allocations: 122.5 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.3385, allocations: 64.73 kB / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3386, allocations: 0 / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.3386, allocations: 30.56 kB / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3386, allocations: 0 / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006721/0.3393, allocations: 181.5 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.3393, allocations: 55.39 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.193e-05/0.3394, allocations: 125.7 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.3394, allocations: 25.7 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.3395, allocations: 111.9 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.3395, allocations: 15.72 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.3396, allocations: 25.7 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.3397, allocations: 318.8 kB / 1.212 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.3399, allocations: 43.95 kB / 1.212 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.3401, allocations: 51.92 kB / 1.212 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.3405, allocations: 97.25 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3405, allocations: 0 / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004762/0.341, allocations: 133.5 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.341, allocations: 9.562 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.341, allocations: 0 / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.341, allocations: 0 / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.3412, allocations: 31.97 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3412, allocations: 3.938 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.3413, allocations: 15.89 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.3414, allocations: 3.984 kB / 1.212 GB, free: 5.25 MB / 0.9669 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.0001042/0.3415, allocations: 117.8 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.3415, allocations: 4 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.3415, allocations: 12.38 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.3415, allocations: 4 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.3416, allocations: 3.938 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3416, allocations: 3.938 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.3418, allocations: 209.4 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3418, allocations: 0 / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.342, allocations: 27.91 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.342, allocations: 4 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.342, allocations: 4 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.342, allocations: 0 / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.342, allocations: 3.938 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.3425, allocations: 231.4 kB / 1.212 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.3426, allocations: 77.11 kB / 1.213 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3426, allocations: 7.984 kB / 1.213 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.3428, allocations: 19.98 kB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/0.3429, allocations: 23.91 kB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3429, allocations: 4 kB / 1.213 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.101e-05/0.3429, allocations: 91.27 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3429, allocations: 0 / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002434/0.3432, allocations: 15.91 kB / 1.213 GB, free: 4.305 MB / 0.9669 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.0007916/0.344, allocations: 0.7671 MB / 1.213 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000449/0.3445, allocations: 107.9 kB / 1.214 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.3445, allocations: 7.938 kB / 1.214 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.3447, allocations: 59.95 kB / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.345, allocations: 7.938 kB / 1.214 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.3474, allocations: 1.531 MB / 1.215 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.3477, allocations: 0.6935 MB / 1.216 GB, free: 1 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.597e-05/0.3478, allocations: 11.98 kB / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.409e-05/0.3479, allocations: 31.42 kB / 1.216 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of SimCode: time 1.724e-06/0.3479, allocations: 0 / 1.216 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.3678, allocations: 2.765 MB / 1.219 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/8.161, allocations: 7.5 kB / 1.219 GB, free: 14.29 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Greater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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) "" 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