Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001297/0.001297, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001499/0.001499, allocations: 220.4 kB / 22.25 MB, free: 4.852 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.801 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 2.905/2.905, allocations: 476 MB / 0.7699 GB, free: 4.727 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.Reals.Validation.Less,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_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.002175/0.002175, allocations: 70.39 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3699, allocations: 169.9 MB / 1.283 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002293/0.3722, allocations: 0.8326 MB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.3736, allocations: 0.9211 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.3737, allocations: 7.938 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.3739, allocations: 15.81 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.569e-05/0.3739, allocations: 15.86 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.3742, allocations: 43.89 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.3743, allocations: 95.77 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.3745, allocations: 41.59 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.3746, allocations: 47.78 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.53e-05/0.3747, allocations: 27.84 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.3747, allocations: 8 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.216e-05/0.3748, allocations: 20 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.3748, allocations: 23.91 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.3749, allocations: 27.8 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.3751, allocations: 115 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3751, allocations: 0 / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3751, allocations: 0 / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.3751, allocations: 0 / 1.285 GB, free: 10.15 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006928/0.3758, allocations: 333.9 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3758, allocations: 12.03 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.917e-05/0.3759, allocations: 38.75 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.376, allocations: 24.83 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.3763, allocations: 136.8 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3763, allocations: 8.375 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.3764, allocations: 4.375 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.3766, allocations: 93.77 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3766, allocations: 3.938 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.3766, allocations: 12 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3766, allocations: 0 / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.3769, allocations: 63.94 kB / 1.285 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.3774, allocations: 317.4 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.3777, allocations: 66.55 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.3778, allocations: 32.92 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.3778, allocations: 0 / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3779, allocations: 30.56 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3779, allocations: 0 / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004772/0.3783, allocations: 133.4 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.3784, allocations: 55.41 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.3785, allocations: 141.7 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3785, allocations: 25.7 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.3786, allocations: 100.1 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.3786, allocations: 15.84 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.3787, allocations: 21.7 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3788, allocations: 318.8 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.379, allocations: 27.98 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3791, allocations: 35.97 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.3793, allocations: 56.75 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3793, allocations: 0 / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002788/0.3796, allocations: 101.5 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3796, allocations: 6.656 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3796, allocations: 0 / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3796, allocations: 4 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.3797, allocations: 15.98 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3797, allocations: 4.125 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.3799, allocations: 23.97 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.3799, allocations: 0 / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001155/0.38, allocations: 113.8 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.38, allocations: 7.953 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.38, allocations: 20.27 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3801, allocations: 4 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3801, allocations: 3.938 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3801, allocations: 0 / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.3803, allocations: 148.7 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3803, allocations: 0 / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-05/0.3804, allocations: 11.98 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3804, allocations: 0 / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.3804, allocations: 0 / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3804, allocations: 4 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.3804, allocations: 11.91 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.3807, allocations: 187.5 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.3807, allocations: 7.953 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.3808, allocations: 4 kB / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.3809, allocations: 19.91 kB / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.381, allocations: 11.92 kB / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.381, allocations: 11.94 kB / 1.287 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.022e-05/0.381, allocations: 95.27 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.381, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002387/0.3813, allocations: 23.94 kB / 1.288 GB, free: 6.996 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: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0006853/0.382, allocations: 0.7163 MB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002935/0.3823, allocations: 67.88 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3823, allocations: 4 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.3824, allocations: 31.97 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.3827, allocations: 15.94 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.3848, allocations: 1.487 MB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.285e-05/0.3848, allocations: 79.19 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.29e-05/0.3849, allocations: 11.97 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.385, allocations: 23.44 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/0.385, allocations: 0 / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/0.4176, allocations: 2.784 MB / 1.293 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.71, allocations: 0 / 1.293 GB, free: 1.801 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable les.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable les.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable les.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable lesHys.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable lesHys.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.880921555683017]