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.001717/0.001717, allocations: 109.1 kB / 18.94 MB, free: 2.812 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.002047/0.002047, allocations: 215.5 kB / 22.25 MB, free: 5.184 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 8.016 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.201/3.201, allocations: 0.49 GB / 0.7951 GB, free: 33.35 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.002127/0.002127, allocations: 62.31 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3785, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003687/0.3822, allocations: 2.048 MB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002424/0.3846, allocations: 1.366 MB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.3847, allocations: 7.938 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004771/0.3852, allocations: 167.4 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005115/0.3857, allocations: 211.1 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.3861, allocations: 159.6 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004359/0.3865, allocations: 335.1 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.3867, allocations: 41.06 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.387, allocations: 163.4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.3872, allocations: 171.4 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.3873, allocations: 16 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.3874, allocations: 55.92 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.3875, allocations: 99.66 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.3877, allocations: 127.1 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004776/0.3881, allocations: 382.3 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3881, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3881, allocations: 3.938 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.3881, allocations: 0 / 1.331 GB, free: 12.61 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.001042/0.3892, allocations: 0.5741 MB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3892, allocations: 12.03 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.134e-05/0.3893, allocations: 38.73 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.229e-05/0.3894, allocations: 36.7 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.3899, allocations: 320.3 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.3899, allocations: 11.98 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.3899, allocations: 8 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.3902, allocations: 110.9 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3902, allocations: 7.938 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3902, allocations: 4 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.3902, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.3904, allocations: 55.95 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008571/0.3912, allocations: 475.5 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.3916, allocations: 130.8 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.3917, allocations: 48.83 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.3917, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002569/0.392, allocations: 115.7 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.392, allocations: 4 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005542/0.3926, allocations: 223.9 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.3926, allocations: 55.41 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006478/0.3933, allocations: 0.5289 MB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.3933, allocations: 29.7 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.3934, allocations: 172.4 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.3935, allocations: 31.8 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.3936, allocations: 77.91 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3938, allocations: 354.8 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.394, allocations: 100.5 kB / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.3942, allocations: 131.6 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.3946, allocations: 183 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3946, allocations: 8 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005889/0.3952, allocations: 325.3 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3952, allocations: 7.938 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.3952, allocations: 0 / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3952, allocations: 8 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.3955, allocations: 47.91 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.3955, allocations: 4 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.3956, allocations: 19.89 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.3956, allocations: 23.98 kB / 1.335 GB, free: 8.18 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.00021/0.3959, allocations: 186.8 kB / 1.335 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.3959, allocations: 39.7 kB / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004387/0.3963, allocations: 200.7 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3963, allocations: 4 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3964, allocations: 0 / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3964, allocations: 0 / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.3967, allocations: 280.5 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3967, allocations: 0 / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.198e-05/0.3967, allocations: 15.98 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/0.3968, allocations: 3.938 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3968, allocations: 0 / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3968, allocations: 4 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3968, allocations: 0 / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.3972, allocations: 209.8 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.3972, allocations: 43.7 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.3973, allocations: 4 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3974, allocations: 11.98 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.3975, allocations: 19.97 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.3975, allocations: 4 kB / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003876/0.3979, allocations: 327.1 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3979, allocations: 0 / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003302/0.3982, allocations: 63.89 kB / 1.337 GB, free: 6.715 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 (13): * Single equations (assignments): 9 * 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.002249/0.4004, allocations: 1.066 MB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004331/0.4009, allocations: 179.8 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4009, allocations: 4 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.401, allocations: 60.03 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.4015, allocations: 85.98 kB / 1.338 GB, free: 5.465 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/0.4057, allocations: 3.188 MB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.4062, allocations: 0.7909 MB / 1.342 GB, free: 1.371 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001624/0.4064, allocations: 58.94 kB / 1.342 GB, free: 1.312 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.4065, allocations: 111.4 kB / 1.342 GB, free: 1.207 MB / 1.029 GB Notification: Performance of SimCode: time 8.62e-07/0.4065, allocations: 0 / 1.342 GB, free: 1.207 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03755/0.4441, allocations: 7.569 MB / 1.349 GB, free: 9.742 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.16, allocations: 3.938 kB / 1.349 GB, free: 9.738 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: 18.994703595992178]