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.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007159/0.007159, allocations: 98.08 kB / 15.73 MB, free: 6.055 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.002018/0.002018, allocations: 199.3 kB / 16.68 MB, free: 5.977 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.843/2.843, allocations: 469.8 MB / 0.7425 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63.91 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2746, allocations: 159.1 MB / 1.22 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002037/0.2767, allocations: 0.8713 MB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.2779, allocations: 0.8896 MB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.965e-05/0.278, allocations: 0 / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.2781, allocations: 19.8 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.683e-05/0.2781, allocations: 7.875 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.2783, allocations: 35.94 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.2785, allocations: 99.7 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.2786, allocations: 51.95 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.2787, allocations: 51.78 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.42e-05/0.2788, allocations: 35.84 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.2789, allocations: 8 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.823e-05/0.2789, allocations: 11.94 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.2789, allocations: 15.92 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.904e-05/0.279, allocations: 39.73 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.2791, allocations: 99.58 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2791, allocations: 0 / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2791, allocations: 0 / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.2791, allocations: 0 / 1.222 GB, free: 11.97 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.0006406/0.2798, allocations: 419 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2798, allocations: 8.031 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.2799, allocations: 42.69 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.2799, allocations: 8.891 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.2802, allocations: 216 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2802, allocations: 4.375 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.2802, allocations: 12.38 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.2805, allocations: 94.2 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2805, allocations: 3.938 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.2805, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2805, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002669/0.2808, allocations: 75.88 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.2813, allocations: 348.6 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.2816, allocations: 62.55 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.2817, allocations: 36.92 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.2818, allocations: 7.984 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.2818, allocations: 30.56 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2818, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000472/0.2823, allocations: 121.5 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.2823, allocations: 55.41 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2824, allocations: 140.1 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.2825, allocations: 33.7 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.2826, allocations: 104 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.2826, allocations: 7.938 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.2826, allocations: 21.7 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2828, allocations: 318.8 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.2829, allocations: 31.97 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.283, allocations: 35.91 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.2833, allocations: 52.94 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2833, allocations: 4 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002914/0.2836, allocations: 101.5 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2836, allocations: 12 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-06/0.2836, allocations: 0 / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.2836, allocations: 0 / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.2837, allocations: 11.98 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.2838, allocations: 7.875 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2839, allocations: 23.92 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.2839, allocations: 0 / 1.225 GB, free: 9.332 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 9.223e-05/0.284, allocations: 121.8 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.284, allocations: 3.953 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.2841, allocations: 16.23 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2841, allocations: 0 / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.2841, allocations: 3.938 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.2841, allocations: 0 / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.2843, allocations: 189.6 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2843, allocations: 0 / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.459e-05/0.2844, allocations: 11.98 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2844, allocations: 0 / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2844, allocations: 4 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2844, allocations: 7.938 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2844, allocations: 3.938 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.2848, allocations: 183.5 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.2848, allocations: 85.06 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.2848, allocations: 3.984 kB / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.285, allocations: 15.98 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.2851, allocations: 15.92 kB / 1.225 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.2851, allocations: 4 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.026e-05/0.2851, allocations: 99.25 kB / 1.225 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2852, allocations: 0 / 1.225 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002357/0.2854, allocations: 19.94 kB / 1.226 GB, free: 8.461 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.0006671/0.2861, allocations: 0.7207 MB / 1.226 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002859/0.2864, allocations: 68 kB / 1.226 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2864, allocations: 4 kB / 1.226 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.2865, allocations: 44.12 kB / 1.226 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.2868, allocations: 18.27 kB / 1.226 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.2886, allocations: 1.476 MB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.289, allocations: 0.6963 MB / 1.228 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.42e-05/0.289, allocations: 7.984 kB / 1.228 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.2891, allocations: 23.42 kB / 1.228 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.2891, allocations: 3.938 kB / 1.228 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.3111, allocations: 2.19 MB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.481/7.792, allocations: 8.703 kB / 1.231 GB, free: 3.164 MB / 0.9825 GB (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) 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) Reference file matches