Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.001466/0.001466, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00115/0.00115, allocations: 195.4 kB / 16.14 MB, free: 6.695 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.229/1.229, allocations: 222.9 MB / 239.8 MB, free: 4.559 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.327/2.327, allocations: 437 MB / 0.7099 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.89 kB / 0.8687 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6037/0.605, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001893/0.6069, allocations: 0.7737 MB / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008641/0.6078, allocations: 0.8351 MB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.6078, allocations: 0 / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.6079, allocations: 4 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.404e-05/0.608, allocations: 3.938 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.6081, allocations: 19.98 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.242e-05/0.6082, allocations: 51.83 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.271e-05/0.6083, allocations: 16 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/0.6084, allocations: 19.92 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.056e-05/0.6084, allocations: 19.91 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.6084, allocations: 4 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.6085, allocations: 4 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.6085, allocations: 7.984 kB / 1.018 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.6085, allocations: 19.86 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.889e-05/0.6086, allocations: 43.84 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.6086, allocations: 0 / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6086, allocations: 0 / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.6086, allocations: 0 / 1.019 GB, free: 0.9219 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.0004749/0.6091, allocations: 369.6 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.6092, allocations: 12.03 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.6092, allocations: 30.75 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.516e-05/0.6092, allocations: 0.9375 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.6093, allocations: 176.2 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.6094, allocations: 8.375 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.6094, allocations: 384 / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.6096, allocations: 73.59 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.6096, allocations: 0 / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.6096, allocations: 0 / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.6096, allocations: 0 / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.6098, allocations: 47.95 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.6102, allocations: 300.6 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.6105, allocations: 70.47 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.6106, allocations: 32.91 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.6106, allocations: 4 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.6106, allocations: 30.56 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.6106, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003921/0.611, allocations: 109.6 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.6111, allocations: 55.41 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.434e-05/0.6111, allocations: 109.9 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.6112, allocations: 25.7 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.6112, allocations: 92.12 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.6112, allocations: 11.75 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.6113, allocations: 21.72 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.6114, allocations: 322.8 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.741e-05/0.6115, allocations: 19.98 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.489e-05/0.6116, allocations: 23.97 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.6117, allocations: 56.75 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6118, allocations: 0 / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002137/0.612, allocations: 81.66 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.612, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.612, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.612, allocations: 7.984 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.6121, allocations: 11.98 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.6122, allocations: 320 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.6122, allocations: 8 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.6123, allocations: 3.984 kB / 1.021 GB, free: 14.61 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,intLesThr.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 7.418e-05/0.6123, allocations: 118.3 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.6124, allocations: 3.906 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.6124, allocations: 11.91 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6124, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6124, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.6124, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.6126, allocations: 177.6 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6126, allocations: 11.88 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.631e-05/0.6127, allocations: 11.98 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.6127, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.6127, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6127, allocations: 3.984 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6127, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.613, allocations: 179.8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.613, allocations: 85.02 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.6131, allocations: 4.031 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.6132, allocations: 15.98 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.6132, allocations: 15.92 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.6133, allocations: 3.984 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.6133, allocations: 83.28 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6133, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000229/0.6136, allocations: 15.94 kB / 1.021 GB, free: 13.78 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 (intLesThr.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.0006436/0.6142, allocations: 0.7143 MB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002652/0.6145, allocations: 55.94 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6145, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.6146, allocations: 39.91 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.615, allocations: 5.375 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.6166, allocations: 1.332 MB / 1.023 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.6169, allocations: 0.6848 MB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.944e-05/0.617, allocations: 4 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.6171, allocations: 15.42 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6171, allocations: 0 / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.6363, allocations: 1.59 MB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/0.6365, allocations: 216.1 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.281, allocations: 0 / 1.026 GB, free: 9.062 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches