Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_latest_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.0008594/0.0008593, allocations: 91.84 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.005729/0.00573, allocations: 170 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.326/1.326, 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 11.0.0-master/package.mo): time 2.658/2.658, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003169, allocations: 14.88 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3362, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001041/0.3373, allocations: 451.4 kB / 1.059 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008921/0.3382, allocations: 0.8313 MB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/0.3382, allocations: 0 / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.3382, allocations: 3.938 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.83e-05/0.3383, allocations: 0 / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.3385, allocations: 27.91 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.785e-05/0.3386, allocations: 47.84 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3387, allocations: 12 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.3388, allocations: 15.92 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.65e-05/0.3389, allocations: 27.89 kB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.3389, allocations: 0 / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.3389, allocations: 4 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.3389, allocations: 4 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.339, allocations: 49.56 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.68e-05/0.3391, allocations: 43.84 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3391, allocations: 0 / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3391, allocations: 0 / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3391, allocations: 0 / 1.06 GB, free: 3.332 MB / 0.8106 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.0005361/0.3397, allocations: 355.7 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3397, allocations: 11.97 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.3398, allocations: 30.75 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.3398, allocations: 8.938 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3399, allocations: 172.2 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.34, allocations: 8.312 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.34, allocations: 4.375 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.3402, allocations: 77.56 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3402, allocations: 0 / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3402, allocations: 4 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3402, allocations: 4 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.3405, allocations: 59.95 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.3409, allocations: 296.7 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.3411, allocations: 62.55 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.3412, allocations: 44.84 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.3413, allocations: 4 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.3413, allocations: 34.56 kB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3413, allocations: 0 / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004206/0.3417, allocations: 129.5 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.3418, allocations: 51.41 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.974e-05/0.3418, allocations: 109.8 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.3419, allocations: 25.7 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.3419, allocations: 84.14 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.342, allocations: 19.73 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.342, allocations: 13.72 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3421, allocations: 314.8 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.3422, allocations: 35.97 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.922e-05/0.3423, allocations: 23.98 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.3425, allocations: 73.08 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3425, allocations: 0 / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002381/0.3428, allocations: 93.58 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3428, allocations: 8 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3428, allocations: 4 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3428, allocations: 0 / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.3429, allocations: 11.98 kB / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.343, allocations: 0 / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.343, allocations: 15.98 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.3431, allocations: 4 kB / 1.062 GB, free: 0.9492 MB / 0.8106 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 8.769e-05/0.3432, allocations: 117.8 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.3432, allocations: 7.906 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.3432, allocations: 11.89 kB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.3432, allocations: 0 / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3432, allocations: 0 / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3432, allocations: 0 / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.3434, allocations: 177.5 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3434, allocations: 0 / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.55e-05/0.3435, allocations: 15.98 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3435, allocations: 11.92 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3435, allocations: 3.938 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3435, allocations: 0 / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3436, allocations: 0 / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.3438, allocations: 195.4 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.3439, allocations: 81.02 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.3439, allocations: 4 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.344, allocations: 11.98 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.3441, allocations: 7.984 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3441, allocations: 0 / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.413e-05/0.3442, allocations: 91.27 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3442, allocations: 0 / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002091/0.3444, allocations: 15.94 kB / 1.063 GB, free: 116 kB / 0.8106 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.0005914/0.345, allocations: 0.7241 MB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.3452, allocations: 59.95 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3452, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.3454, allocations: 51.84 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.3456, allocations: 6.391 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.3471, allocations: 1.358 MB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.3474, allocations: 0.6809 MB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.893e-05/0.3474, allocations: 4 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.3475, allocations: 19.42 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3475, allocations: 0 / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03396/0.3814, allocations: 1.521 MB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.3817, allocations: 215.5 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.146, allocations: 0 / 1.068 GB, free: 11.46 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches