Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_10_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.001209/0.001209, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001167/0.001167, allocations: 191 kB / 16.14 MB, free: 6.711 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.27/1.27, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.336/2.336, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 63.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5853/0.587, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001723/0.5887, allocations: 0.7853 MB / 1.017 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007043/0.5895, allocations: 0.8234 MB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.325e-05/0.5895, allocations: 4 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.5895, allocations: 7.922 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.599e-05/0.5896, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.5897, allocations: 23.98 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.743e-05/0.5898, allocations: 39.86 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.819e-05/0.5899, allocations: 19.98 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.007e-05/0.5899, allocations: 23.91 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.202e-05/0.59, allocations: 19.86 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.59, allocations: 4 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.59, allocations: 4 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.59, allocations: 7.984 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.5901, allocations: 19.86 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.604e-05/0.5901, allocations: 39.86 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.5901, allocations: 4 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.31e-07/0.5902, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.5902, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 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.0004181/0.5906, allocations: 365.6 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.5906, allocations: 8.031 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.716e-05/0.5907, allocations: 34.75 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.027e-05/0.5907, allocations: 0.9375 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.5908, allocations: 172.3 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.5908, allocations: 4.375 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.5908, allocations: 8.375 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.591, allocations: 77.52 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.591, allocations: 4 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.591, allocations: 0 / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.591, allocations: 3.938 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.5912, allocations: 51.95 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.5916, allocations: 288.8 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.5918, allocations: 62.48 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.751e-05/0.5919, allocations: 36.91 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.5919, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.5919, allocations: 34.56 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.5919, allocations: 0 / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003623/0.5923, allocations: 109.6 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.5923, allocations: 51.41 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.5924, allocations: 113.8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.5924, allocations: 25.7 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.5925, allocations: 92.12 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.5925, allocations: 15.75 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.5925, allocations: 17.72 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.5926, allocations: 318.8 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.716e-05/0.5927, allocations: 23.98 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.02e-05/0.5928, allocations: 24.16 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.593, allocations: 60.89 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.593, allocations: 0 / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002129/0.5932, allocations: 77.66 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.5932, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5932, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.5933, allocations: 7.922 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.5934, allocations: 15.98 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.5934, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.8e-05/0.5935, allocations: 8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.5935, allocations: 4 kB / 1.021 GB, free: 14.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: 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 6.785e-05/0.5935, allocations: 114.3 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.5936, allocations: 7.906 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.952e-05/0.5936, allocations: 7.906 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.5936, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.5936, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.5936, allocations: 3.938 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.5938, allocations: 181.6 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5938, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.625e-05/0.5939, allocations: 15.98 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.5939, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.5939, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5939, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5939, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.5942, allocations: 187.4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.5942, allocations: 81.02 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.5942, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.5943, allocations: 15.98 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.5944, allocations: 11.98 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.5944, allocations: 4 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.014e-05/0.5944, allocations: 87.58 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5944, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002053/0.5947, allocations: 11.94 kB / 1.021 GB, free: 13.82 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 (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.0004846/0.5951, allocations: 0.7163 MB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.5954, allocations: 59.94 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5954, allocations: 4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.5955, allocations: 28.2 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.5958, allocations: 9.375 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.597, allocations: 1.338 MB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.5972, allocations: 0.6848 MB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.144e-05/0.5973, allocations: 4 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.5973, allocations: 19.42 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5973, allocations: 0 / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.6151, allocations: 1.594 MB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.6153, allocations: 228 kB / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/2.222, allocations: 0 / 1.026 GB, free: 9.098 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches