Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.004794/0.004794, allocations: 99.19 kB / 15.73 MB, free: 6.492 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.001289/0.001289, allocations: 198.6 kB / 16.68 MB, free: 6.375 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.822/2.822, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 68.03 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2748, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001841/0.2767, allocations: 0.7111 MB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009413/0.2777, allocations: 0.8234 MB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.2777, allocations: 4 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.2777, allocations: 3.938 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.448e-05/0.2778, allocations: 7.875 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.278, allocations: 35.89 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.628e-05/0.2781, allocations: 47.84 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.2782, allocations: 12 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.463e-05/0.2782, allocations: 23.92 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/0.2783, allocations: 27.89 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.2783, allocations: 4 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.2783, allocations: 4 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.2784, allocations: 4 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.2784, allocations: 23.86 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.2785, allocations: 43.86 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2785, allocations: 4 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.377e-06/0.2785, allocations: 3.984 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.2785, allocations: 4 kB / 1.222 GB, free: 12.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005344/0.2791, allocations: 351.3 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2791, allocations: 12.03 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.2792, allocations: 38.73 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.2792, allocations: 8.891 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.2794, allocations: 164.3 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.2794, allocations: 12.31 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.2794, allocations: 4.125 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.2796, allocations: 65.66 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2796, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2797, allocations: 4 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2797, allocations: 0 / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.2799, allocations: 51.94 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.2803, allocations: 296.7 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.2806, allocations: 66.53 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.2807, allocations: 24.92 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.2807, allocations: 0 / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.2808, allocations: 38.56 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2808, allocations: 0 / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004303/0.2812, allocations: 109.7 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.2813, allocations: 55.41 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.139e-05/0.2813, allocations: 113.8 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.2814, allocations: 25.7 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.2814, allocations: 88.09 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.2815, allocations: 15.95 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.2815, allocations: 17.7 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2817, allocations: 318.8 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.2818, allocations: 23.97 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.2819, allocations: 31.91 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.2821, allocations: 56.75 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2821, allocations: 0 / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002604/0.2824, allocations: 89.59 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2824, allocations: 6.031 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2824, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2824, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2825, allocations: 15.98 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2826, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.2826, allocations: 15.98 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.2827, allocations: 3.938 kB / 1.224 GB, free: 10.2 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: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.841e-05/0.2828, allocations: 115.8 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.2828, allocations: 4 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.2828, allocations: 7.906 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2828, allocations: 0 / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2828, allocations: 4 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2828, allocations: 3.984 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.283, allocations: 173.5 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2831, allocations: 7.938 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.185e-05/0.2832, allocations: 11.98 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2832, allocations: 0 / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2832, allocations: 7.984 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2832, allocations: 0 / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2832, allocations: 0 / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.2835, allocations: 179.4 kB / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.2836, allocations: 85.06 kB / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.2836, allocations: 0 / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.2837, allocations: 7.984 kB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.2837, allocations: 8 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.2838, allocations: 7.984 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.121e-05/0.2838, allocations: 87.22 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2838, allocations: 0 / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002327/0.2841, allocations: 11.94 kB / 1.225 GB, free: 9.387 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 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * 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.0006403/0.2847, allocations: 0.7278 MB / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.285, allocations: 56.17 kB / 1.225 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.285, allocations: 4 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.2851, allocations: 39.91 kB / 1.225 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.2854, allocations: 0 / 1.225 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.287, allocations: 1.331 MB / 1.227 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.2874, allocations: 0.6807 MB / 1.227 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.022e-05/0.2874, allocations: 8 kB / 1.227 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.2875, allocations: 19.42 kB / 1.227 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.2875, allocations: 4 kB / 1.227 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.3093, allocations: 1.845 MB / 1.229 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/8.033, allocations: 12.12 kB / 1.229 GB, free: 4.656 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches