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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001186/0.001186, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.791/2.791, allocations: 461.9 MB / 0.7347 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 65.89 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3452, allocations: 157.4 MB / 1.053 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.0025/0.3477, allocations: 0.711 MB / 1.054 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.3488, allocations: 0.8351 MB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.3488, allocations: 0 / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.3489, allocations: 3.938 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-05/0.349, allocations: 11.94 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.3491, allocations: 19.97 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.303e-05/0.3492, allocations: 47.8 kB / 1.055 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3493, allocations: 15.98 kB / 1.055 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.016e-05/0.3494, allocations: 19.92 kB / 1.055 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.366e-05/0.3494, allocations: 23.91 kB / 1.055 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.3495, allocations: 8 kB / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.391e-05/0.3495, allocations: 8 kB / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.3495, allocations: 7.984 kB / 1.055 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.3496, allocations: 23.88 kB / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.3497, allocations: 43.84 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3497, allocations: 0 / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3497, allocations: 0 / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.3497, allocations: 0 / 1.055 GB, free: 6.434 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.0005422/0.3503, allocations: 359.6 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.3503, allocations: 12.62 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/0.3504, allocations: 38.75 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.3504, allocations: 8.844 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.3506, allocations: 176.3 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.3506, allocations: 4.375 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.3506, allocations: 384 / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.3509, allocations: 73.58 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.3509, allocations: 0 / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3509, allocations: 4 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3509, allocations: 0 / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.3511, allocations: 55.89 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.3516, allocations: 296.7 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.3518, allocations: 58.55 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.3519, allocations: 32.91 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.3519, allocations: 4 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.352, allocations: 34.5 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.352, allocations: 0 / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004013/0.3524, allocations: 105.6 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.3524, allocations: 55.41 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.619e-05/0.3525, allocations: 105.8 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.3525, allocations: 25.7 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.3526, allocations: 96.03 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.3526, allocations: 3.906 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.3527, allocations: 17.72 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3528, allocations: 326.8 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.3529, allocations: 23.98 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.481e-05/0.353, allocations: 27.91 kB / 1.057 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.3532, allocations: 48.81 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3532, allocations: 0 / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002475/0.3535, allocations: 89.58 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3535, allocations: 5.094 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3535, allocations: 4 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3535, allocations: 4 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3537, allocations: 11.98 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3537, allocations: 0 / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.832e-05/0.3538, allocations: 7.984 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3538, allocations: 0 / 1.057 GB, free: 4.129 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.665e-05/0.3539, allocations: 122 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.3539, allocations: 3.906 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.3539, allocations: 15.89 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3539, allocations: 0 / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3539, allocations: 0 / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3539, allocations: 0 / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.3541, allocations: 189.6 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3541, allocations: 3.938 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.608e-05/0.3542, allocations: 11.98 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3542, allocations: 0 / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3543, allocations: 0 / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3543, allocations: 4 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3543, allocations: 3.984 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.3546, allocations: 183.4 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.3546, allocations: 89.03 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.3547, allocations: 0 / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.954e-05/0.3548, allocations: 7.984 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.3548, allocations: 8 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3548, allocations: 7.984 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.491e-05/0.3549, allocations: 87.59 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3549, allocations: 0 / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002177/0.3551, allocations: 11.94 kB / 1.057 GB, free: 3.297 MB / 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.0006254/0.3557, allocations: 0.7202 MB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002581/0.356, allocations: 51.89 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.356, allocations: 0 / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.3561, allocations: 35.97 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.3564, allocations: 4 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.358, allocations: 1.317 MB / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.3583, allocations: 0.6845 MB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.43e-05/0.3584, allocations: 8 kB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.3585, allocations: 19.42 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.3585, allocations: 3.938 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.3769, allocations: 1.806 MB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.227/7.604, allocations: 15.34 kB / 1.062 GB, free: 14.6 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