Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00229/0.00229, allocations: 206.7 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.362/3.362, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 73.03 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3671, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003955/0.371, allocations: 1.986 MB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002411/0.3734, allocations: 1.276 MB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.3736, allocations: 11.94 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.374, allocations: 155.4 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004924/0.3745, allocations: 203.2 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.3749, allocations: 171.5 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.3753, allocations: 339 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.3755, allocations: 41.12 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.3757, allocations: 147.4 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.3759, allocations: 163.3 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.3759, allocations: 16 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.3761, allocations: 55.97 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.3762, allocations: 99.61 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.3764, allocations: 95.33 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005008/0.3769, allocations: 394.3 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3769, allocations: 0 / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3769, allocations: 0 / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.3769, allocations: 0 / 1.368 GB, free: 8.945 MB / 1.061 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.001111/0.378, allocations: 0.5819 MB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.378, allocations: 8.031 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.751e-05/0.3781, allocations: 42.73 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.341e-05/0.3782, allocations: 36.7 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005673/0.3787, allocations: 316.3 kB / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.3787, allocations: 4 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.3788, allocations: 8 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.3791, allocations: 121.4 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3791, allocations: 4 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3791, allocations: 0 / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3791, allocations: 4 kB / 1.369 GB, free: 7.766 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.3793, allocations: 63.95 kB / 1.37 GB, free: 7.703 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008907/0.3802, allocations: 451.6 kB / 1.37 GB, free: 7.219 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.3805, allocations: 134.7 kB / 1.37 GB, free: 7.078 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.3807, allocations: 52.77 kB / 1.37 GB, free: 7.023 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.3807, allocations: 4 kB / 1.37 GB, free: 7.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.3809, allocations: 123.2 kB / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.3809, allocations: 0 / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005703/0.3815, allocations: 232 kB / 1.37 GB, free: 6.656 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.3816, allocations: 51.41 kB / 1.371 GB, free: 6.594 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006381/0.3822, allocations: 0.5366 MB / 1.371 GB, free: 6.047 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.3822, allocations: 25.7 kB / 1.371 GB, free: 6.016 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.3824, allocations: 176.5 kB / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.3824, allocations: 39.69 kB / 1.371 GB, free: 5.801 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.3825, allocations: 69.97 kB / 1.371 GB, free: 5.723 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3827, allocations: 350.8 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.3829, allocations: 108.5 kB / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.3832, allocations: 139.5 kB / 1.372 GB, free: 5.121 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.3835, allocations: 187 kB / 1.372 GB, free: 4.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3835, allocations: 0 / 1.372 GB, free: 4.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006051/0.3841, allocations: 337.3 kB / 1.372 GB, free: 4.594 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3841, allocations: 7.938 kB / 1.372 GB, free: 4.586 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3842, allocations: 4 kB / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3842, allocations: 0 / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.3844, allocations: 55.91 kB / 1.372 GB, free: 4.527 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3844, allocations: 0 / 1.372 GB, free: 4.527 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.3845, allocations: 19.94 kB / 1.373 GB, free: 4.508 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.3846, allocations: 8 kB / 1.373 GB, free: 4.5 MB / 1.061 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,intLes.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.0002073/0.3848, allocations: 189.7 kB / 1.373 GB, free: 4.305 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.3848, allocations: 43.75 kB / 1.373 GB, free: 4.262 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.3853, allocations: 212.7 kB / 1.373 GB, free: 4.051 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3853, allocations: 4 kB / 1.373 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3853, allocations: 0 / 1.373 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3853, allocations: 0 / 1.373 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.3856, allocations: 260.5 kB / 1.373 GB, free: 3.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3856, allocations: 0 / 1.373 GB, free: 3.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.184e-05/0.3857, allocations: 19.98 kB / 1.373 GB, free: 3.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3857, allocations: 3.938 kB / 1.373 GB, free: 3.727 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.3857, allocations: 8 kB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3857, allocations: 0 / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3857, allocations: 0 / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.3862, allocations: 228.7 kB / 1.373 GB, free: 3.477 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.476e-05/0.3863, allocations: 47.69 kB / 1.373 GB, free: 3.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.3863, allocations: 4 kB / 1.373 GB, free: 3.426 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3864, allocations: 7.984 kB / 1.374 GB, free: 3.418 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.3865, allocations: 19.97 kB / 1.374 GB, free: 3.398 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.3865, allocations: 8 kB / 1.374 GB, free: 3.391 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004064/0.3869, allocations: 327.1 kB / 1.374 GB, free: 3.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3869, allocations: 4 kB / 1.374 GB, free: 3.066 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003151/0.3872, allocations: 59.92 kB / 1.374 GB, free: 3.008 MB / 1.061 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,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.002549/0.3898, allocations: 1.115 MB / 1.375 GB, free: 2.051 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004924/0.3903, allocations: 187.8 kB / 1.375 GB, free: 1.867 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3903, allocations: 0 / 1.375 GB, free: 1.867 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.3905, allocations: 71.89 kB / 1.375 GB, free: 1.797 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.3909, allocations: 95.3 kB / 1.375 GB, free: 1.719 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.3955, allocations: 3.224 MB / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.3957, allocations: 183.8 kB / 1.379 GB, free: 14.21 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001733/0.3959, allocations: 62.88 kB / 1.379 GB, free: 14.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.3961, allocations: 119.4 kB / 1.379 GB, free: 14.03 MB / 1.076 GB Notification: Performance of SimCode: time 5.61e-07/0.3961, allocations: 4 kB / 1.379 GB, free: 14.02 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03638/0.4325, allocations: 8.337 MB / 1.387 GB, free: 5.781 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12, allocations: 9.562 kB / 1.387 GB, free: 5.777 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.13976228190586]