Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00173/0.00173, 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.002308/0.002308, allocations: 208.6 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.603/1.603, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.24/3.24, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_12_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.002993/0.002993, allocations: 68.03 kB / 1.153 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3615, allocations: 176.1 MB / 1.325 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003858/0.3654, allocations: 1.977 MB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002446/0.3678, allocations: 1.275 MB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.3679, allocations: 7.938 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004564/0.3684, allocations: 171.4 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004727/0.3689, allocations: 207.2 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.3692, allocations: 163.6 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004268/0.3696, allocations: 339 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.3698, allocations: 41.05 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.37, allocations: 163.3 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.3702, allocations: 155.4 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.3703, allocations: 16 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.3704, allocations: 59.92 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.3705, allocations: 95.72 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.3707, allocations: 95.28 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004633/0.3711, allocations: 386.3 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3711, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3711, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.3711, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 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.001027/0.3722, allocations: 0.5741 MB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3722, allocations: 12.03 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.69e-05/0.3722, allocations: 38.75 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.3723, allocations: 36.7 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/0.3729, allocations: 316.3 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.3729, allocations: 11.98 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.3729, allocations: 12 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.3732, allocations: 109.6 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3732, allocations: 0 / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.3732, allocations: 4 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3732, allocations: 3.938 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.3734, allocations: 67.95 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008448/0.3742, allocations: 447.6 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.3746, allocations: 142.7 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.3747, allocations: 48.84 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.3748, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.375, allocations: 121.7 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.375, allocations: 0 / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005666/0.3756, allocations: 233.3 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.3756, allocations: 59.34 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006427/0.3763, allocations: 0.5288 MB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.3763, allocations: 33.7 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.3764, allocations: 168.5 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.3765, allocations: 43.72 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.3766, allocations: 73.92 kB / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3768, allocations: 350.8 kB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.377, allocations: 104.5 kB / 1.333 GB, free: 9.539 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.3772, allocations: 135.6 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.3776, allocations: 183 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3776, allocations: 0 / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005826/0.3782, allocations: 345.2 kB / 1.334 GB, free: 8.867 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3782, allocations: 7.938 kB / 1.334 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.3782, allocations: 0 / 1.334 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3782, allocations: 4 kB / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.3784, allocations: 51.91 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.3785, allocations: 7.984 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.3786, allocations: 19.94 kB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.3786, allocations: 11.98 kB / 1.334 GB, free: 8.766 MB / 1.029 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.0002015/0.3788, allocations: 196.5 kB / 1.334 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.3789, allocations: 39.7 kB / 1.334 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.3793, allocations: 200.8 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3793, allocations: 4 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3793, allocations: 0 / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3794, allocations: 0 / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.3796, allocations: 264.5 kB / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3796, allocations: 0 / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-05/0.3797, allocations: 19.92 kB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3797, allocations: 7.938 kB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.3798, allocations: 11.98 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3798, allocations: 0 / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3798, allocations: 0 / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/0.3802, allocations: 223 kB / 1.335 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.21e-05/0.3803, allocations: 39.75 kB / 1.335 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.3803, allocations: 4 kB / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3804, allocations: 11.98 kB / 1.335 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.3805, allocations: 19.97 kB / 1.335 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.3805, allocations: 7.984 kB / 1.335 GB, free: 7.664 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003752/0.3809, allocations: 331.1 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3809, allocations: 0 / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003033/0.3812, allocations: 59.89 kB / 1.336 GB, free: 7.285 MB / 1.029 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.002351/0.3835, allocations: 1.11 MB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004694/0.384, allocations: 195.7 kB / 1.337 GB, free: 6.141 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.384, allocations: 0 / 1.337 GB, free: 6.141 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.3842, allocations: 64.09 kB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.3847, allocations: 95.75 kB / 1.337 GB, free: 5.996 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/0.389, allocations: 3.235 MB / 1.34 GB, free: 2.668 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.3892, allocations: 187.8 kB / 1.34 GB, free: 2.465 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001715/0.3894, allocations: 58.94 kB / 1.34 GB, free: 2.406 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.3896, allocations: 119.4 kB / 1.341 GB, free: 2.293 MB / 1.029 GB Notification: Performance of SimCode: time 8.92e-07/0.3896, allocations: 0 / 1.341 GB, free: 2.293 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/0.4274, allocations: 8.341 MB / 1.349 GB, free: 10.05 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.98, allocations: 12.41 kB / 1.349 GB, free: 10.04 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.03716413397342]