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.001438/0.001438, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002347/0.002347, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.992 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.846/2.846, allocations: 476.7 MB / 0.7707 GB, free: 4.262 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.002892/0.002892, allocations: 66.34 kB / 1.117 GB, free: 40.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4189, allocations: 170 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002618/0.4216, allocations: 0.8715 MB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.4229, allocations: 0.9406 MB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.015e-05/0.423, allocations: 0 / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.4231, allocations: 11.81 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.614e-05/0.4231, allocations: 15.81 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.4234, allocations: 47.88 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.4235, allocations: 99.77 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.4237, allocations: 31.97 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.4238, allocations: 51.78 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.966e-05/0.4239, allocations: 39.78 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.424, allocations: 12 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.441e-05/0.424, allocations: 8 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.424, allocations: 19.92 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.4241, allocations: 39.8 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.4243, allocations: 108.2 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4243, allocations: 0 / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4243, allocations: 0 / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.4243, allocations: 0 / 1.286 GB, free: 9.371 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.0006495/0.4249, allocations: 345.9 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.425, allocations: 12.03 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.425, allocations: 34.75 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.4252, allocations: 24.81 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.4254, allocations: 142.4 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.4255, allocations: 8.312 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.4255, allocations: 8.375 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.4257, allocations: 90.2 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4257, allocations: 3.938 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4257, allocations: 7.938 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4257, allocations: 0 / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.426, allocations: 67.94 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.4266, allocations: 329.4 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.4268, allocations: 66.52 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.4269, allocations: 36.92 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.4269, allocations: 0 / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.427, allocations: 38.5 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.427, allocations: 0 / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004644/0.4274, allocations: 117.6 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.4275, allocations: 51.41 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.4276, allocations: 143.5 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.4276, allocations: 29.7 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.4277, allocations: 108 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.4277, allocations: 7.891 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.4278, allocations: 25.7 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4279, allocations: 314.8 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.4281, allocations: 27.97 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.4282, allocations: 39.91 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.4284, allocations: 56.81 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4284, allocations: 0 / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002639/0.4286, allocations: 93.59 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.4287, allocations: 8 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4287, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.4287, allocations: 4 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4288, allocations: 11.98 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.4288, allocations: 3.938 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.787e-05/0.4289, allocations: 15.97 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.4289, allocations: 4.188 kB / 1.288 GB, free: 6.945 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.0001083/0.429, allocations: 125.8 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.429, allocations: 7.953 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.4291, allocations: 12.34 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4291, allocations: 0 / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.4291, allocations: 3.938 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4291, allocations: 0 / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.4293, allocations: 160.7 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4293, allocations: 7.875 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.832e-05/0.4294, allocations: 11.98 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4294, allocations: 0 / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.4294, allocations: 7.984 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4294, allocations: 0 / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.4294, allocations: 7.938 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.4297, allocations: 187.4 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.4297, allocations: 7.953 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.4297, allocations: 4 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.4299, allocations: 23.97 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/0.4299, allocations: 15.92 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.4299, allocations: 0 / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.71e-05/0.43, allocations: 101.8 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.43, allocations: 0 / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002283/0.4302, allocations: 23.89 kB / 1.289 GB, free: 6.18 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.0006596/0.4309, allocations: 0.7088 MB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.4312, allocations: 67.88 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4312, allocations: 0 / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.4313, allocations: 40 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.4316, allocations: 15.94 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.4335, allocations: 1.472 MB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.4339, allocations: 0.7 MB / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.64e-05/0.434, allocations: 3.984 kB / 1.291 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.359e-05/0.4341, allocations: 27.42 kB / 1.291 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.4341, allocations: 0 / 1.291 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03218/0.4662, allocations: 2.326 MB / 1.294 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.18, allocations: 8.062 kB / 1.294 GB, free: 0.8164 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.07349015299951]