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.001723/0.001723, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002548/0.002548, allocations: 216.7 kB / 22.25 MB, free: 5.105 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.797 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.181/3.181, allocations: 0.49 GB / 0.7951 GB, free: 35.38 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.002055/0.002055, allocations: 66.91 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3659, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.00419/0.3701, allocations: 1.971 MB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002383/0.3725, allocations: 1.281 MB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.3726, allocations: 7.938 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005132/0.3731, allocations: 167.4 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005458/0.3737, allocations: 211.1 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.3741, allocations: 167.6 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004583/0.3746, allocations: 339 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.3747, allocations: 37.05 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.375, allocations: 151.4 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.3752, allocations: 171.3 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.3753, allocations: 16 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.3754, allocations: 59.97 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.3755, allocations: 99.61 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.3756, allocations: 95.33 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004629/0.3761, allocations: 390.3 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3761, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3761, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.3761, allocations: 0 / 1.331 GB, free: 12.32 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.001067/0.3772, allocations: 0.5741 MB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3772, allocations: 12.03 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.3773, allocations: 38.69 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.665e-05/0.3774, allocations: 40.7 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005552/0.3779, allocations: 320.3 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.3779, allocations: 8 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.3779, allocations: 12 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.3782, allocations: 109.6 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.3782, allocations: 0 / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.3782, allocations: 0 / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3783, allocations: 7.938 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.3785, allocations: 67.95 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009148/0.3794, allocations: 447.6 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.3797, allocations: 142.7 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.3799, allocations: 48.81 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.3799, allocations: 4 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.3802, allocations: 124.8 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.3802, allocations: 0 / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005896/0.3808, allocations: 233.4 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.3808, allocations: 55.41 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006549/0.3815, allocations: 0.5327 MB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.3815, allocations: 33.69 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.3817, allocations: 168.4 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.3817, allocations: 39.73 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.3818, allocations: 69.92 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002421/0.3821, allocations: 354.7 kB / 1.334 GB, free: 8.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.3823, allocations: 104.5 kB / 1.334 GB, free: 8.629 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.3825, allocations: 135.6 kB / 1.334 GB, free: 8.488 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.3829, allocations: 187 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3829, allocations: 0 / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005797/0.3835, allocations: 333.3 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3835, allocations: 7.938 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3835, allocations: 3.984 kB / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3836, allocations: 4 kB / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.3838, allocations: 51.91 kB / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3838, allocations: 4 kB / 1.335 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.384, allocations: 20.02 kB / 1.335 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.384, allocations: 11.98 kB / 1.335 GB, free: 7.863 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.0001999/0.3842, allocations: 186.7 kB / 1.335 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.3843, allocations: 43.7 kB / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004596/0.3847, allocations: 204.7 kB / 1.335 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3847, allocations: 4 kB / 1.335 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3847, allocations: 0 / 1.335 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3847, allocations: 0 / 1.335 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.385, allocations: 264.5 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.385, allocations: 3.984 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.277e-05/0.3851, allocations: 16 kB / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3851, allocations: 3.938 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.3851, allocations: 7.984 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.3851, allocations: 4 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3851, allocations: 0 / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.3856, allocations: 224.7 kB / 1.336 GB, free: 6.844 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.669e-05/0.3856, allocations: 39.75 kB / 1.336 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.3857, allocations: 11.98 kB / 1.336 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3858, allocations: 11.94 kB / 1.336 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.3859, allocations: 19.97 kB / 1.336 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.3859, allocations: 11.98 kB / 1.336 GB, free: 6.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003873/0.3863, allocations: 327.1 kB / 1.336 GB, free: 6.434 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3863, allocations: 0 / 1.336 GB, free: 6.434 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000304/0.3866, allocations: 55.89 kB / 1.336 GB, free: 6.379 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.002323/0.3889, allocations: 1.121 MB / 1.337 GB, free: 5.418 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004381/0.3893, allocations: 191.8 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3893, allocations: 0 / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.3895, allocations: 63.91 kB / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.39, allocations: 89.86 kB / 1.338 GB, free: 5.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004559/0.3946, allocations: 3.233 MB / 1.341 GB, free: 1.766 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.3948, allocations: 187.9 kB / 1.341 GB, free: 1.562 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001805/0.3949, allocations: 58.94 kB / 1.341 GB, free: 1.504 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.3952, allocations: 119.4 kB / 1.341 GB, free: 1.391 MB / 1.029 GB Notification: Performance of SimCode: time 1.463e-06/0.3952, allocations: 0 / 1.341 GB, free: 1.391 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/0.4346, allocations: 8.381 MB / 1.349 GB, free: 9.113 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.92, allocations: 3.578 kB / 1.349 GB, free: 9.113 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.908623372000875]