Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_latest_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.005057/0.005057, allocations: 96.09 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 200.4 kB / 16.68 MB, free: 5.969 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.683/2.683, allocations: 469.4 MB / 0.7422 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 71.91 kB / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.279, allocations: 159.1 MB / 1.22 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002217/0.2812, allocations: 0.8713 MB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.2824, allocations: 0.8857 MB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.2825, allocations: 4 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.2826, allocations: 15.8 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.371e-05/0.2827, allocations: 7.875 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.2829, allocations: 39.89 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.283, allocations: 103.8 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.2832, allocations: 47.97 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.2834, allocations: 43.78 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.931e-05/0.2834, allocations: 39.83 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.2835, allocations: 8 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.566e-05/0.2835, allocations: 8 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.2835, allocations: 19.92 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.2836, allocations: 39.73 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.2837, allocations: 95.58 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2838, allocations: 4 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2838, allocations: 3.938 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.2838, allocations: 0 / 1.222 GB, free: 12.37 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.0006048/0.2844, allocations: 419 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2844, allocations: 12.02 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.552e-05/0.2845, allocations: 38.75 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.2845, allocations: 8.891 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.2848, allocations: 208 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2848, allocations: 8.375 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.2848, allocations: 8.375 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.2851, allocations: 93.33 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2851, allocations: 7.875 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2851, allocations: 4 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/0.2851, allocations: 8 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.2854, allocations: 63.94 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.2858, allocations: 352.6 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.2861, allocations: 66.53 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.2862, allocations: 36.91 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.2862, allocations: 8 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.2863, allocations: 34.5 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.2863, allocations: 0 / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004454/0.2867, allocations: 121.5 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.2868, allocations: 55.41 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.821e-05/0.2869, allocations: 143.6 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.2869, allocations: 25.7 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.2869, allocations: 104 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.287, allocations: 11.95 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.287, allocations: 17.7 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.158e-05/0.2871, allocations: 318.8 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.2872, allocations: 35.91 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.2874, allocations: 31.97 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.2876, allocations: 52.81 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2876, allocations: 0 / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002684/0.2878, allocations: 105.5 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.2879, allocations: 8 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2879, allocations: 0 / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2879, allocations: 0 / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.288, allocations: 11.98 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.288, allocations: 3.938 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.2881, allocations: 23.92 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.2881, allocations: 0 / 1.224 GB, free: 9.738 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 7.657e-05/0.2882, allocations: 114.4 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.2883, allocations: 11.95 kB / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.2883, allocations: 12.25 kB / 1.224 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2883, allocations: 0 / 1.224 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2883, allocations: 7.922 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2883, allocations: 0 / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.2885, allocations: 185.8 kB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.2885, allocations: 4 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.527e-05/0.2886, allocations: 15.92 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2886, allocations: 3.984 kB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.2886, allocations: 4 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2886, allocations: 0 / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2886, allocations: 3.938 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.2889, allocations: 187.5 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.289, allocations: 81.06 kB / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.289, allocations: 4 kB / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.2892, allocations: 19.97 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.2893, allocations: 15.92 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.2893, allocations: 0 / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.774e-05/0.2893, allocations: 105 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2894, allocations: 3.938 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002339/0.2896, allocations: 11.94 kB / 1.225 GB, free: 8.867 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.0005954/0.2902, allocations: 0.728 MB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002774/0.2905, allocations: 64.22 kB / 1.226 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2905, allocations: 3.938 kB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.2906, allocations: 43.91 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.2909, allocations: 14 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.2927, allocations: 1.487 MB / 1.227 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.2929, allocations: 0.6924 MB / 1.228 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.811e-05/0.293, allocations: 7.984 kB / 1.228 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.293, allocations: 27.44 kB / 1.228 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of SimCode: time 1.864e-06/0.2931, allocations: 0 / 1.228 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.3099, allocations: 2.197 MB / 1.23 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/7.603, allocations: 7.078 kB / 1.23 GB, free: 3.562 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches