Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 172.9 kB / 487.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008857/0.0008858, allocations: 103.8 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.304e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3225, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.399, allocations: 148.3 MB / 1.351 GB, free: 18.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/1.4, allocations: 67.41 kB / 1.351 GB, free: 18.35 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003618/1.403, allocations: 0.9446 MB / 1.352 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.404e-06/1.403, allocations: 0.6094 kB / 1.352 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.192e-05/1.403, allocations: 5.188 kB / 1.352 GB, free: 34 MB / 0.8386 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.0004518/1.404, allocations: 346.2 kB / 1.352 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/1.404, allocations: 9.219 kB / 1.352 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/1.404, allocations: 6.438 kB / 1.352 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/1.404, allocations: 166.8 kB / 1.352 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/1.404, allocations: 5.281 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/1.404, allocations: 3.375 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.703e-05/1.404, allocations: 25.88 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/1.404, allocations: 47.58 kB / 1.352 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.404, allocations: 0 / 1.352 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/1.404, allocations: 2.125 kB / 1.352 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/1.404, allocations: 5.281 kB / 1.352 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/1.405, allocations: 270.5 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/1.405, allocations: 46.31 kB / 1.353 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/1.405, allocations: 19.5 kB / 1.353 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/1.405, allocations: 1.766 kB / 1.353 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/1.405, allocations: 35.3 kB / 1.353 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/1.405, allocations: 0 / 1.353 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001862/1.405, allocations: 60.77 kB / 1.353 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/1.405, allocations: 52.59 kB / 1.353 GB, free: 33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.107e-05/1.405, allocations: 98.41 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/1.405, allocations: 29.64 kB / 1.353 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/1.406, allocations: 91.22 kB / 1.353 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/1.406, allocations: 9.531 kB / 1.353 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/1.406, allocations: 0 / 1.353 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.406, allocations: 318 kB / 1.353 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.958e-05/1.406, allocations: 14.78 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-05/1.406, allocations: 11.17 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/1.406, allocations: 9.375 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/1.406, allocations: 1.312 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.633e-05/1.406, allocations: 57.73 kB / 1.353 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.406, allocations: 5.984 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/1.406, allocations: 0 / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/1.406, allocations: 1.312 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/1.406, allocations: 14.25 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/1.406, allocations: 4.562 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-05/1.406, allocations: 14.62 kB / 1.354 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/1.406, allocations: 5.594 kB / 1.354 GB, free: 32.42 MB / 0.8386 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 (intGreThr.u,intGreThr.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.657e-05/1.406, allocations: 114.8 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/1.406, allocations: 2.562 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/1.406, allocations: 7.938 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.406, allocations: 1.969 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.406, allocations: 0 / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/1.406, allocations: 6.016 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/1.407, allocations: 153 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.407, allocations: 0.6094 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/1.407, allocations: 14.16 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.407, allocations: 1.922 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/1.407, allocations: 0.7031 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.407, allocations: 1.312 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.407, allocations: 3.938 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/1.407, allocations: 161.4 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/1.407, allocations: 83.08 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/1.407, allocations: 2.047 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/1.407, allocations: 9.297 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/1.407, allocations: 11.91 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/1.407, allocations: 5.25 kB / 1.354 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.083e-05/1.407, allocations: 89.44 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.407, allocations: 5.312 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002217/1.407, allocations: 12.41 kB / 1.354 GB, free: 31.8 MB / 0.8386 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 (intGreThr.u,intGreThr.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001524/1.408, allocations: 100.2 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001108/1.408, allocations: 36.27 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.408, allocations: 0 / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.651e-05/1.408, allocations: 17 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/1.408, allocations: 2.172 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/1.408, allocations: 82.44 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/1.409, allocations: 0.6826 MB / 1.355 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.689e-05/1.409, allocations: 4.484 kB / 1.355 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/1.409, allocations: 12.83 kB / 1.355 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.409, allocations: 0 / 1.355 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of Templates: time 0.002864/1.411, allocations: 0.6997 MB / 1.356 GB, free: 30.88 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches