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.00179/0.00179, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002236/0.002236, allocations: 219 kB / 22.25 MB, free: 5.258 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.773 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.258/3.258, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.002119/0.002119, allocations: 63.22 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3611, allocations: 176.1 MB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003574/0.3647, allocations: 1.975 MB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.3671, allocations: 1.285 MB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.3672, allocations: 7.938 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000434/0.3677, allocations: 167.4 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004935/0.3682, allocations: 211.1 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.3685, allocations: 167.6 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004231/0.3689, allocations: 331.1 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.3691, allocations: 52.97 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.3693, allocations: 151.4 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.3695, allocations: 163.4 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.3696, allocations: 12 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.3697, allocations: 63.92 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.3698, allocations: 95.66 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.37, allocations: 95.28 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.3704, allocations: 386.4 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3704, allocations: 0 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 5.33e-06/0.3704, allocations: 7.922 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3704, allocations: 4 kB / 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.001077/0.3715, allocations: 0.5702 MB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3716, allocations: 8.031 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.273e-05/0.3716, allocations: 42.73 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.426e-05/0.3717, allocations: 40.64 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005571/0.3723, allocations: 320.3 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.3723, allocations: 8 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.3723, allocations: 4 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.3726, allocations: 109.6 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3726, allocations: 4 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.3726, allocations: 0 / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3726, allocations: 4 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.3728, allocations: 63.95 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000891/0.3737, allocations: 459.5 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.374, allocations: 134.7 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.3742, allocations: 48.83 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3742, allocations: 4 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.3744, allocations: 119.2 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.3744, allocations: 0 / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005815/0.375, allocations: 238.9 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.3751, allocations: 51.41 kB / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000669/0.3757, allocations: 0.5405 MB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.3758, allocations: 29.7 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.3759, allocations: 168.4 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.376, allocations: 43.72 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.3761, allocations: 73.91 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.3762, allocations: 350.8 kB / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.3764, allocations: 104.5 kB / 1.334 GB, free: 8.637 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.3767, allocations: 131.6 kB / 1.334 GB, free: 8.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.377, allocations: 187 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.377, allocations: 0 / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005953/0.3776, allocations: 345.3 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3777, allocations: 9.188 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3777, allocations: 4 kB / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3777, allocations: 0 / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.3779, allocations: 51.91 kB / 1.335 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.3779, allocations: 0 / 1.335 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.3781, allocations: 19.94 kB / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.3781, allocations: 12 kB / 1.335 GB, free: 7.871 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.000213/0.3783, allocations: 194.8 kB / 1.335 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.324e-05/0.3784, allocations: 39.7 kB / 1.335 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000456/0.3788, allocations: 200.8 kB / 1.335 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3788, allocations: 4 kB / 1.335 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3788, allocations: 0 / 1.335 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3788, allocations: 3.984 kB / 1.335 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.3792, allocations: 264.5 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3792, allocations: 0 / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.812e-05/0.3792, allocations: 15.94 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.3792, allocations: 7.922 kB / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.3793, allocations: 8 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3793, allocations: 0 / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3793, allocations: 0 / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.3797, allocations: 230.7 kB / 1.336 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.802e-05/0.3798, allocations: 43.73 kB / 1.336 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.3798, allocations: 4 kB / 1.336 GB, free: 6.801 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3799, allocations: 7.984 kB / 1.336 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.38, allocations: 23.97 kB / 1.336 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.38, allocations: 4 kB / 1.336 GB, free: 6.766 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004068/0.3804, allocations: 327.1 kB / 1.336 GB, free: 6.449 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3804, allocations: 4 kB / 1.336 GB, free: 6.445 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003008/0.3807, allocations: 71.81 kB / 1.336 GB, free: 6.375 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.002413/0.3831, allocations: 1.092 MB / 1.337 GB, free: 5.441 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.3836, allocations: 195.7 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.3836, allocations: 4 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.3838, allocations: 64.08 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.3844, allocations: 95.59 kB / 1.338 GB, free: 5.102 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004753/0.3891, allocations: 3.243 MB / 1.341 GB, free: 1.766 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.3893, allocations: 191.8 kB / 1.341 GB, free: 1.559 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001618/0.3895, allocations: 46.95 kB / 1.341 GB, free: 1.512 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.3897, allocations: 115.4 kB / 1.341 GB, free: 1.402 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.3897, allocations: 4 kB / 1.341 GB, free: 1.398 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03775/0.4275, allocations: 8.378 MB / 1.349 GB, free: 9.121 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.87, allocations: 9.672 kB / 1.35 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable intLes.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv. Warning: Get data of variable intLes.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv failed! Error: Could not read variable intLes.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv. Warning: Get data of variable intLes.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv failed! Error: Could not read variable intLes.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv. Warning: Get data of variable intLes.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.933178957988275]