Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001917/0.001917, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001727/0.001727, allocations: 213.9 kB / 22.25 MB, free: 5.242 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.078/3.078, allocations: 476 MB / 0.7699 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_11_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.002152/0.002152, allocations: 67.42 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3332, allocations: 170 MB / 1.283 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004958/0.3381, allocations: 1.968 MB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00293/0.3411, allocations: 1.29 MB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.3413, allocations: 7.938 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004801/0.3418, allocations: 159.4 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006027/0.3424, allocations: 219.1 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.3428, allocations: 163.6 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005492/0.3434, allocations: 339.1 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.3435, allocations: 28.92 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.3438, allocations: 147.4 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.3442, allocations: 163.3 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.3442, allocations: 20 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.3444, allocations: 51.98 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.3446, allocations: 99.59 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.3447, allocations: 91.34 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005771/0.3453, allocations: 400 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3453, allocations: 0 / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3453, allocations: 0 / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.81e-05/0.3453, allocations: 0 / 1.288 GB, free: 7.32 MB / 0.9825 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.00134/0.3467, allocations: 0.5741 MB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.3467, allocations: 8.031 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.381e-05/0.3468, allocations: 46.73 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.682e-05/0.3469, allocations: 36.7 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006225/0.3475, allocations: 328.2 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.3475, allocations: 8 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.3475, allocations: 4 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.3478, allocations: 113.5 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3478, allocations: 3.938 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3478, allocations: 0 / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3478, allocations: 4 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.348, allocations: 67.95 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008986/0.3489, allocations: 463.5 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.3493, allocations: 134.7 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.3494, allocations: 48.83 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.3494, allocations: 0 / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.3497, allocations: 119.3 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.3497, allocations: 4 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005803/0.3503, allocations: 231.6 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.3503, allocations: 55.34 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007333/0.351, allocations: 0.5328 MB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.3511, allocations: 29.7 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.3513, allocations: 184.3 kB / 1.29 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.3513, allocations: 31.73 kB / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.3514, allocations: 73.91 kB / 1.291 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.3517, allocations: 350.8 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.3519, allocations: 108.5 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.3521, allocations: 131.6 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.3525, allocations: 196.2 kB / 1.291 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3525, allocations: 0 / 1.291 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006077/0.3531, allocations: 333.3 kB / 1.292 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3532, allocations: 7.938 kB / 1.292 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3532, allocations: 4 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3532, allocations: 4.062 kB / 1.292 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.3534, allocations: 51.91 kB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.3534, allocations: 0 / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.3536, allocations: 19.94 kB / 1.292 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.3536, allocations: 12 kB / 1.292 GB, free: 2.852 MB / 0.9825 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.0002105/0.3538, allocations: 189.7 kB / 1.292 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.3539, allocations: 35.7 kB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00045/0.3543, allocations: 200.8 kB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3543, allocations: 11.98 kB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3543, allocations: 0 / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3543, allocations: 0 / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.3546, allocations: 260.6 kB / 1.292 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3546, allocations: 0 / 1.292 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/0.3547, allocations: 19.92 kB / 1.292 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3547, allocations: 7.875 kB / 1.292 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.3547, allocations: 4 kB / 1.292 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3548, allocations: 0 / 1.292 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3548, allocations: 4 kB / 1.292 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.3552, allocations: 232.8 kB / 1.293 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-05/0.3553, allocations: 43.69 kB / 1.293 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.3553, allocations: 7.938 kB / 1.293 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3554, allocations: 7.984 kB / 1.293 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.3555, allocations: 23.97 kB / 1.293 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.3555, allocations: 4 kB / 1.293 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003894/0.3559, allocations: 327.1 kB / 1.293 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3559, allocations: 0 / 1.293 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003221/0.3562, allocations: 67.88 kB / 1.293 GB, free: 1.363 MB / 0.9825 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.002328/0.3585, allocations: 1.1 MB / 1.294 GB, free: 436 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004531/0.359, allocations: 195.7 kB / 1.294 GB, free: 240 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.359, allocations: 4 kB / 1.294 GB, free: 236 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.3592, allocations: 59.95 kB / 1.294 GB, free: 176 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.3596, allocations: 96.94 kB / 1.295 GB, free: 88 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.364, allocations: 3.231 MB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.3642, allocations: 187.8 kB / 1.298 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.3644, allocations: 50.95 kB / 1.298 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.3646, allocations: 119.4 kB / 1.298 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of SimCode: time 4e-07/0.3646, allocations: 0 / 1.298 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03831/0.4029, allocations: 8.343 MB / 1.306 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.99, allocations: 8.328 kB / 1.306 GB, free: 4.145 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv. Warning: Get data of variable intLes.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv failed! Error: Could not read variable intLes.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv. Warning: Get data of variable intLes.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv failed! Error: Could not read variable intLes.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv. Warning: Get data of variable intLes.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.140639651101083]