Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.001251, allocations: 75.89 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5227/0.524, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001934/0.5259, allocations: 0.8712 MB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009482/0.5269, allocations: 0.8935 MB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.285e-05/0.527, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.5271, allocations: 19.8 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.011e-05/0.5272, allocations: 15.86 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.5273, allocations: 39.89 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.5275, allocations: 99.77 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.5276, allocations: 51.94 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.329e-05/0.5277, allocations: 43.8 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.544e-05/0.5278, allocations: 35.83 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.5278, allocations: 8 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.661e-05/0.5278, allocations: 8 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.5279, allocations: 23.92 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.5279, allocations: 43.72 kB / 1.02 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.528, allocations: 89.97 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.528, allocations: 4 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5281, allocations: 0 / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.5281, allocations: 0 / 1.02 GB, free: 256 kB / 0.7637 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.0005676/0.5286, allocations: 415 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.5287, allocations: 12.03 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.386e-05/0.5287, allocations: 34.75 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.5288, allocations: 8.844 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.5289, allocations: 218 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.529, allocations: 4.375 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.529, allocations: 8.375 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.5292, allocations: 86.2 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.5292, allocations: 3.938 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.5292, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.5293, allocations: 4 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.5295, allocations: 71.94 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.53, allocations: 344.6 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.5302, allocations: 70.48 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.5304, allocations: 40.86 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.5304, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.5304, allocations: 30.56 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.5304, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000451/0.5309, allocations: 121.5 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.5309, allocations: 51.41 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.275e-05/0.531, allocations: 137.7 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.531, allocations: 33.7 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.5311, allocations: 108 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.5311, allocations: 7.812 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.5311, allocations: 25.7 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.5312, allocations: 322.8 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.5314, allocations: 23.98 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.5315, allocations: 31.97 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.5317, allocations: 52.81 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5317, allocations: 4 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002691/0.532, allocations: 97.55 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.532, allocations: 5.094 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.532, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.532, allocations: 4.188 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.5321, allocations: 19.92 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5322, allocations: 3.938 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.5323, allocations: 19.97 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.5323, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 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 7.598e-05/0.5324, allocations: 117.8 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.5324, allocations: 7.906 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.5324, allocations: 20.17 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.5324, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5325, allocations: 3.938 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.5325, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.5326, allocations: 189.6 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5327, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.595e-05/0.5327, allocations: 11.98 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5328, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.5328, allocations: 8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.5328, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5328, allocations: 4.125 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.5331, allocations: 191.3 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.5331, allocations: 81.11 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.5331, allocations: 7.984 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.5333, allocations: 11.98 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.5333, allocations: 11.92 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.5334, allocations: 7.938 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.998e-05/0.5334, allocations: 108.1 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5334, allocations: 4 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002284/0.5337, allocations: 12 kB / 1.023 GB, free: 12.76 MB / 0.7794 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.0005442/0.5342, allocations: 0.724 MB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.5345, allocations: 63.94 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.5345, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.5346, allocations: 31.97 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.5349, allocations: 26.05 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.5365, allocations: 1.471 MB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.5368, allocations: 0.6924 MB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.35e-05/0.5368, allocations: 4 kB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.5369, allocations: 27.42 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5369, allocations: 0 / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5563/1.093, allocations: 2.146 MB / 1.028 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.43, allocations: 14.14 kB / 1.028 GB, free: 7.5 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches