Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_9_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.00709/0.00709, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.002095/0.002095, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.815/1.815, allocations: 222.9 MB / 240.4 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.288/4.288, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 64.28 kB / 0.9504 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4225, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.003127/0.4257, allocations: 0.6896 MB / 1.088 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.4275, allocations: 0.8354 MB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.767e-05/0.4276, allocations: 8 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.333e-05/0.4277, allocations: 3.938 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.4279, allocations: 11.91 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.4282, allocations: 15.98 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.4283, allocations: 51.84 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.4284, allocations: 8 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.4286, allocations: 27.91 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.221e-05/0.4287, allocations: 27.91 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.4287, allocations: 4 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.599e-05/0.4287, allocations: 4 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.4288, allocations: 4 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.4288, allocations: 23.86 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.429, allocations: 51.78 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.429, allocations: 0 / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.683e-06/0.429, allocations: 0 / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.429, allocations: 4 kB / 1.089 GB, free: 196 kB / 0.8419 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.0007824/0.4298, allocations: 362.2 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.933e-05/0.4299, allocations: 8.031 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.571e-05/0.4299, allocations: 34.75 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.43, allocations: 8.844 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.4302, allocations: 169.2 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.4302, allocations: 4.375 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.4303, allocations: 4.125 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.4305, allocations: 69.59 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4305, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.4306, allocations: 8 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4306, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.4308, allocations: 47.95 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006077/0.4314, allocations: 296.7 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.4317, allocations: 66.48 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.4318, allocations: 32.91 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.4318, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.4319, allocations: 30.56 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.756e-06/0.4319, allocations: 3.984 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0005175/0.4324, allocations: 109.6 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.4325, allocations: 55.34 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.4326, allocations: 113.8 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.4326, allocations: 29.7 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.4327, allocations: 88.05 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.4327, allocations: 7.891 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.4328, allocations: 17.72 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.433, allocations: 326.8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.4331, allocations: 23.98 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.4332, allocations: 23.97 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.4334, allocations: 48.81 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4334, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002586/0.4337, allocations: 81.66 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.4337, allocations: 13.88 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.4337, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.4338, allocations: 3.938 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.4339, allocations: 19.92 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.4339, allocations: 3.984 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.434, allocations: 11.84 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.434, allocations: 11.92 kB / 1.091 GB, free: 13.87 MB / 0.8575 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 0.0001233/0.4342, allocations: 109.8 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.4342, allocations: 8 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.4343, allocations: 3.906 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4343, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.4343, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4343, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.4346, allocations: 181.6 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4346, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.213e-05/0.4347, allocations: 11.98 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4347, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.4347, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4347, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4347, allocations: 4 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.4351, allocations: 191.3 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.4351, allocations: 77.11 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.4352, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.4353, allocations: 7.984 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.4354, allocations: 11.98 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.4354, allocations: 8.375 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.485e-05/0.4354, allocations: 95.27 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4355, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002484/0.4357, allocations: 8 kB / 1.092 GB, free: 13.07 MB / 0.8575 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.0007315/0.4364, allocations: 0.7279 MB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003001/0.4368, allocations: 55.94 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.4368, allocations: 0 / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.4369, allocations: 31.97 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.4372, allocations: 4 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.4391, allocations: 1.328 MB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.4394, allocations: 0.6845 MB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.017e-05/0.4395, allocations: 4 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.4395, allocations: 23.42 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.4395, allocations: 0 / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.4646, allocations: 1.838 MB / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.12, allocations: 6.438 kB / 1.097 GB, free: 8.344 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches