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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001142/0.001141, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001236/0.001236, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.339/1.339, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.489/2.489, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 71.89 kB / 0.8689 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6399/0.6413, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001641/0.643, allocations: 0.7698 MB / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006884/0.6437, allocations: 0.8273 MB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.93e-05/0.6437, allocations: 0 / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.6438, allocations: 7.922 kB / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.696e-05/0.6438, allocations: 4 kB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.6439, allocations: 23.97 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.243e-05/0.644, allocations: 39.86 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.6441, allocations: 19.98 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.671e-05/0.6442, allocations: 23.92 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.012e-05/0.6442, allocations: 23.91 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.6443, allocations: 4 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.6443, allocations: 4 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.6443, allocations: 11.98 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.6443, allocations: 19.81 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.441e-05/0.6444, allocations: 47.84 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.6444, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6444, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.6444, allocations: 4 kB / 1.019 GB, free: 0.8945 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.0004204/0.6448, allocations: 361.5 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.6449, allocations: 12.03 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.6449, allocations: 34.75 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.645, allocations: 8.922 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.666e-05/0.6451, allocations: 168.3 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.6451, allocations: 4.375 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.6451, allocations: 384 / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.6453, allocations: 77.59 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.6453, allocations: 0 / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.6453, allocations: 4 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.6453, allocations: 0 / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.6455, allocations: 55.88 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.6459, allocations: 296.7 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.646, allocations: 62.53 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.227e-05/0.6461, allocations: 28.86 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.6462, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.6462, allocations: 38.5 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.6462, allocations: 4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003512/0.6466, allocations: 105.6 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.6466, allocations: 51.41 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.567e-05/0.6467, allocations: 113.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.6467, allocations: 25.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.6467, allocations: 84.14 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.6467, allocations: 15.75 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.6468, allocations: 21.7 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.6469, allocations: 322.8 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/0.647, allocations: 27.91 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.012e-05/0.6471, allocations: 19.98 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.6472, allocations: 48.81 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.6473, allocations: 4 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002078/0.6475, allocations: 85.64 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.6475, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.6475, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.6475, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.6476, allocations: 11.98 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.6476, allocations: 3.938 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.919e-05/0.6477, allocations: 7.984 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.6477, allocations: 4 kB / 1.021 GB, free: 14.59 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 6.949e-05/0.6478, allocations: 118.3 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.6478, allocations: 4.234 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.6478, allocations: 11.91 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.6479, allocations: 3.984 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.6479, allocations: 3.984 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.6479, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.648, allocations: 173.6 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.648, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.284e-05/0.6481, allocations: 15.98 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.6481, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.6481, allocations: 3.984 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6482, allocations: 3.938 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6482, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.6484, allocations: 183.4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.6484, allocations: 89.02 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.6485, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.6486, allocations: 15.98 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.6486, allocations: 11.98 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.6486, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.27e-05/0.6487, allocations: 83.28 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6487, allocations: 0 / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002069/0.6489, allocations: 15.94 kB / 1.021 GB, free: 13.77 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.0004776/0.6494, allocations: 0.7202 MB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.6496, allocations: 59.89 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6496, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.745e-05/0.6497, allocations: 31.97 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.65, allocations: 5.875 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.6513, allocations: 1.331 MB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.6515, allocations: 0.6885 MB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.335e-05/0.6516, allocations: 4 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.6516, allocations: 23.36 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6516, allocations: 0 / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5379/1.19, allocations: 1.654 MB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/1.19, allocations: 209.6 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.196/4.386, allocations: 4 kB / 1.026 GB, free: 9 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