Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.LessEqual,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",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.001783/0.001783, allocations: 108 kB / 15.61 MB, free: 152 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.002273/0.002273, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.761/2.761, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 64.14 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3481, allocations: 157.4 MB / 1.053 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002328/0.3505, allocations: 0.7772 MB / 1.054 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3517, allocations: 0.87 MB / 1.055 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.839e-05/0.3518, allocations: 4 kB / 1.055 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.165e-05/0.3519, allocations: 3.938 kB / 1.055 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.06e-05/0.352, allocations: 15.86 kB / 1.055 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.3521, allocations: 43.89 kB / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.3523, allocations: 75.89 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3524, allocations: 31.91 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.82e-05/0.3525, allocations: 39.78 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.182e-05/0.3526, allocations: 51.83 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.3526, allocations: 8 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.025e-05/0.3527, allocations: 8 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.3527, allocations: 23.91 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.053e-05/0.3528, allocations: 35.8 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.3529, allocations: 79.72 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3529, allocations: 0 / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3529, allocations: 0 / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.3529, allocations: 0 / 1.055 GB, free: 6.129 MB / 0.8106 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.00069/0.3536, allocations: 399.5 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.3537, allocations: 12.62 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.3537, allocations: 38.73 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.3538, allocations: 8.844 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.354, allocations: 172.2 kB / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.354, allocations: 12.31 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.354, allocations: 4.375 kB / 1.056 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.3544, allocations: 109.5 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3544, allocations: 0 / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.3544, allocations: 4 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3544, allocations: 0 / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003816/0.3548, allocations: 95.89 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006078/0.3554, allocations: 352.6 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006387/0.3561, allocations: 114.6 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.3563, allocations: 56.81 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.3563, allocations: 4 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.3563, allocations: 34.56 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.905e-06/0.3563, allocations: 0 / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006838/0.357, allocations: 185.4 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.3571, allocations: 55.41 kB / 1.057 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.3572, allocations: 129.7 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3572, allocations: 25.7 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.3574, allocations: 104 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.3574, allocations: 7.812 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.3575, allocations: 29.7 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3576, allocations: 318.8 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.3578, allocations: 43.95 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.358, allocations: 47.95 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.3584, allocations: 96.7 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3584, allocations: 4 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004073/0.3588, allocations: 145.5 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3588, allocations: 5.562 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.3588, allocations: 0 / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3589, allocations: 0 / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.359, allocations: 23.97 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.359, allocations: 4 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.3592, allocations: 15.92 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3592, allocations: 4 kB / 1.057 GB, free: 3.289 MB / 0.8106 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,intLesEqu.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.879e-05/0.3593, allocations: 121.8 kB / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.3593, allocations: 3.906 kB / 1.058 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.3593, allocations: 12.38 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3594, allocations: 0 / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3594, allocations: 0 / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3594, allocations: 7.938 kB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.3596, allocations: 201.5 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3596, allocations: 0 / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.3598, allocations: 27.97 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3598, allocations: 0 / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.3598, allocations: 0 / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3598, allocations: 0 / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3598, allocations: 0 / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.3603, allocations: 247.7 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.3603, allocations: 85.02 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.3604, allocations: 0 / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.3605, allocations: 19.97 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/0.3606, allocations: 23.92 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3606, allocations: 7.984 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.258e-05/0.3607, allocations: 99.27 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3607, allocations: 0 / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002299/0.3609, allocations: 16 kB / 1.058 GB, free: 2.34 MB / 0.8106 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 (intLesEqu.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.0008345/0.3618, allocations: 0.7632 MB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004337/0.3622, allocations: 108 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3622, allocations: 4 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.3624, allocations: 71.88 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.3628, allocations: 17.77 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.365, allocations: 1.518 MB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.3652, allocations: 0.6885 MB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.177e-05/0.3653, allocations: 15.98 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.68e-05/0.3654, allocations: 31.42 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3654, allocations: 0 / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.3862, allocations: 2.665 MB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.665, allocations: 23.05 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches