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.0008849/0.0008849, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005437/0.005437, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.248/1.248, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.4/2.4, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002793, allocations: 8 kB / 0.873 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.5058, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.0007337/0.5066, allocations: 441.3 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007821/0.5074, allocations: 0.8312 MB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.996e-05/0.5074, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.5075, allocations: 3.938 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.899e-05/0.5075, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001178/0.5077, allocations: 19.98 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.117e-05/0.5077, allocations: 47.84 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.638e-05/0.5078, allocations: 15.98 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.188e-05/0.5079, allocations: 23.91 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.5079, allocations: 27.84 kB / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.508, allocations: 0 / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.508, allocations: 4 kB / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.508, allocations: 0 / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.508, allocations: 49.55 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.399e-05/0.5081, allocations: 39.86 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.5081, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5081, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.905e-06/0.5081, allocations: 4 kB / 1.025 GB, free: 14.37 MB / 0.7794 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.0004131/0.5085, allocations: 361.7 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.5086, allocations: 8.031 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.124e-05/0.5086, allocations: 30.75 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/0.5086, allocations: 8.844 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.5088, allocations: 164.3 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.5088, allocations: 4.375 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.5088, allocations: 8.375 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.509, allocations: 81.52 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.509, allocations: 3.984 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.509, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.509, allocations: 4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.5092, allocations: 63.89 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.5096, allocations: 284.8 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.5098, allocations: 74.47 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.5099, allocations: 36.92 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.5099, allocations: 3.984 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.5099, allocations: 30.56 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.484e-06/0.51, allocations: 0 / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003898/0.5103, allocations: 129.5 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.5104, allocations: 55.34 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.616e-05/0.5105, allocations: 113.8 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.5105, allocations: 25.7 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.5105, allocations: 88.14 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.5105, allocations: 7.844 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.5106, allocations: 17.7 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.5107, allocations: 318.8 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.894e-05/0.5108, allocations: 27.97 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.011e-05/0.5109, allocations: 31.98 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.5111, allocations: 60.81 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5111, allocations: 4 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002335/0.5113, allocations: 97.55 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.5113, allocations: 7.938 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.5113, allocations: 0 / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/0.5114, allocations: 0 / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.5115, allocations: 19.98 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.5115, allocations: 320 / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.141e-05/0.5116, allocations: 11.98 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.5116, allocations: 0 / 1.027 GB, free: 12 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.182e-05/0.5116, allocations: 118.6 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.5117, allocations: 4 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.5117, allocations: 11.89 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5117, allocations: 4 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5117, allocations: 3.984 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.5117, allocations: 0 / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.5119, allocations: 181.6 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5119, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.239e-05/0.512, allocations: 11.98 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.512, allocations: 4 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.512, allocations: 3.984 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.512, allocations: 7.984 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.512, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.5123, allocations: 199.3 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.5123, allocations: 81.11 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.5123, allocations: 3.938 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.5125, allocations: 19.98 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.5125, allocations: 7.984 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.5125, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.693e-05/0.5126, allocations: 91.27 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5126, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002032/0.5128, allocations: 11.84 kB / 1.027 GB, free: 11.15 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.0005063/0.5133, allocations: 0.728 MB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002315/0.5135, allocations: 63.95 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5135, allocations: 0 / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.5136, allocations: 39.97 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.5139, allocations: 4 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.5152, allocations: 1.363 MB / 1.03 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.5154, allocations: 0.6809 MB / 1.03 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.837e-05/0.5155, allocations: 4 kB / 1.03 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.5155, allocations: 23.42 kB / 1.03 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.5155, allocations: 0 / 1.03 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.624/3.14, allocations: 1.524 MB / 1.032 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/3.14, allocations: 213.1 kB / 1.032 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/4.813, allocations: 0 / 1.032 GB, free: 6.477 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