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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 109.2 kB / 16.41 MB, free: 6.469 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.001977/0.001977, allocations: 189.2 kB / 17.34 MB, free: 5.711 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.574/1.574, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.765/2.765, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 63.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216/1.219, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002038/1.221, allocations: 0.7116 MB / 1.168 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001159/1.222, allocations: 0.8414 MB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.808e-05/1.222, allocations: 4 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/1.222, allocations: 3.938 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.078e-05/1.222, allocations: 7.922 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/1.223, allocations: 23.97 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.426e-05/1.223, allocations: 43.92 kB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/1.223, allocations: 11.98 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.815e-05/1.223, allocations: 27.91 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/1.223, allocations: 23.91 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/1.223, allocations: 7.938 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/1.223, allocations: 4 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/1.223, allocations: 8 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/1.223, allocations: 23.86 kB / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/1.223, allocations: 43.8 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.223, allocations: 0 / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.713e-06/1.223, allocations: 0 / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.29e-06/1.223, allocations: 0 / 1.169 GB, free: 2.02 MB / 0.8887 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.0006061/1.224, allocations: 367.8 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.224, allocations: 12.03 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/1.224, allocations: 0.9375 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/1.224, allocations: 172.3 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/1.224, allocations: 4.375 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/1.224, allocations: 4.375 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/1.224, allocations: 69.59 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/1.224, allocations: 0 / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/1.224, allocations: 0 / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/1.224, allocations: 3.938 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/1.225, allocations: 63.84 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/1.225, allocations: 288.8 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/1.225, allocations: 66.53 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/1.225, allocations: 32.86 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/1.225, allocations: 0 / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/1.226, allocations: 38.56 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 2.966e-06/1.226, allocations: 0 / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004424/1.226, allocations: 109.5 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/1.226, allocations: 51.41 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/1.226, allocations: 109.8 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/1.226, allocations: 25.7 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/1.226, allocations: 100 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.855e-05/1.226, allocations: 3.953 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/1.226, allocations: 21.7 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.227, allocations: 314.8 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/1.227, allocations: 31.91 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.974e-05/1.227, allocations: 19.98 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/1.227, allocations: 57.09 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.227, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002413/1.227, allocations: 89.58 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.227, allocations: 4 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/1.227, allocations: 0 / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/1.227, allocations: 0 / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/1.227, allocations: 11.98 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.122e-05/1.227, allocations: 7.938 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.273e-05/1.227, allocations: 11.98 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/1.228, allocations: 4 kB / 1.171 GB, free: 15.75 MB / 0.9044 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 9.482e-05/1.228, allocations: 113.8 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/1.228, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/1.228, allocations: 15.89 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/1.228, allocations: 0 / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.228, allocations: 0 / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/1.228, allocations: 0 / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/1.228, allocations: 181.7 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.228, allocations: 4 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.412e-05/1.228, allocations: 7.984 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/1.228, allocations: 7.984 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/1.228, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.228, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.228, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/1.228, allocations: 199.3 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.894e-05/1.228, allocations: 85.05 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/1.228, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/1.229, allocations: 7.984 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/1.229, allocations: 11.98 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/1.229, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.683e-05/1.229, allocations: 87.28 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.229, allocations: 0 / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002194/1.229, allocations: 11.89 kB / 1.172 GB, free: 14.93 MB / 0.9044 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.0001528/1.229, allocations: 107.2 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002632/1.229, allocations: 55.95 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/1.229, allocations: 0 / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/1.23, allocations: 31.91 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/1.23, allocations: 10.17 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/1.23, allocations: 141.4 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/1.231, allocations: 0.6807 MB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.239e-05/1.231, allocations: 4 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/1.231, allocations: 15.42 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/1.231, allocations: 4 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of Templates: time 0.003651/1.234, allocations: 0.8833 MB / 1.174 GB, free: 12.95 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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