Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.007513/0.007512, allocations: 100.5 kB / 15.73 MB, free: 5.977 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.001695/0.001695, allocations: 197.2 kB / 16.67 MB, free: 5.914 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.89 kB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3722, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002531/0.3748, allocations: 0.6976 MB / 1.208 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.3761, allocations: 0.8312 MB / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.216e-05/0.3762, allocations: 4 kB / 1.209 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.324e-05/0.3763, allocations: 11.88 kB / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.3764, allocations: 3.938 kB / 1.209 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.3765, allocations: 19.98 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.555e-05/0.3766, allocations: 43.84 kB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3768, allocations: 19.97 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.821e-05/0.3769, allocations: 23.92 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.3769, allocations: 23.86 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.377, allocations: 8 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.377, allocations: 4 kB / 1.209 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.377, allocations: 11.98 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.3771, allocations: 19.86 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.3772, allocations: 43.86 kB / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3772, allocations: 0 / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3772, allocations: 0 / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.3772, allocations: 0 / 1.209 GB, free: 8.363 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005717/0.3778, allocations: 359.7 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3778, allocations: 8.625 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.3779, allocations: 38.75 kB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.3779, allocations: 4.844 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.3781, allocations: 176.2 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.3781, allocations: 384 / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.3781, allocations: 16.06 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.3784, allocations: 73.62 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3784, allocations: 0 / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3784, allocations: 4 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.3785, allocations: 3.938 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/0.3787, allocations: 47.95 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.3791, allocations: 284.8 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.3794, allocations: 62.48 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.3795, allocations: 36.91 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.3795, allocations: 0 / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3796, allocations: 34.56 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3796, allocations: 0 / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004442/0.38, allocations: 109.5 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.3801, allocations: 55.41 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.602e-05/0.3802, allocations: 113.8 kB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3802, allocations: 25.7 kB / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.3803, allocations: 84.12 kB / 1.21 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.3803, allocations: 11.91 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.3803, allocations: 13.72 kB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3805, allocations: 322.8 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.3806, allocations: 27.92 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.406e-05/0.3807, allocations: 24.16 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.3809, allocations: 60.89 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3809, allocations: 0 / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002554/0.3812, allocations: 85.5 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.3812, allocations: 4 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3812, allocations: 7.984 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3812, allocations: 0 / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3814, allocations: 11.98 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3814, allocations: 0 / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.652e-05/0.3815, allocations: 4 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.3815, allocations: 11.92 kB / 1.211 GB, free: 6.051 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: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.644e-05/0.3816, allocations: 109.8 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.3816, allocations: 4 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.3817, allocations: 11.91 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3817, allocations: 0 / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3817, allocations: 0 / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3817, allocations: 3.938 kB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.3819, allocations: 189.5 kB / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3819, allocations: 0 / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.203e-05/0.382, allocations: 15.98 kB / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.382, allocations: 0 / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.382, allocations: 0 / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.382, allocations: 3.938 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.382, allocations: 8 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.3824, allocations: 179.4 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.3824, allocations: 77.11 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3824, allocations: 4 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.864e-05/0.3825, allocations: 7.984 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.3826, allocations: 11.98 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.3826, allocations: 8 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.36e-05/0.3827, allocations: 87.2 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3827, allocations: 0 / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002248/0.3829, allocations: 15.91 kB / 1.212 GB, free: 5.227 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000609/0.3836, allocations: 0.7163 MB / 1.212 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002679/0.3838, allocations: 59.94 kB / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3838, allocations: 0 / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.384, allocations: 32.14 kB / 1.213 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.3843, allocations: 7.938 kB / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.386, allocations: 1.327 MB / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.3864, allocations: 0.6807 MB / 1.215 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.858e-05/0.3865, allocations: 4 kB / 1.215 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/0.3866, allocations: 31.36 kB / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.3866, allocations: 0 / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.4059, allocations: 1.873 MB / 1.216 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/8.111, allocations: 9.812 kB / 1.216 GB, free: 0.4961 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intLesEquThr.t,intLesEquThr.u,intLesEquThr.y Variables in the result:intLesEquThr.t,intLesEquThr.u,intLesEquThr.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time