Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.546/1.546, allocations: 249.5 MB / 257 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009978/0.0009978, allocations: 168.9 kB / 316.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008928/0.0008928, allocations: 80.69 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.7e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2387, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8108/1.05, allocations: 131.9 MB / 1.014 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/1.05, allocations: 74.25 kB / 1.014 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002931/1.053, allocations: 0.957 MB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/1.053, allocations: 2.734 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.486e-06/1.053, allocations: 0 / 1.015 GB, free: 4.934 MB / 0.6355 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.0005187/1.053, allocations: 354.2 kB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/1.053, allocations: 8.031 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/1.054, allocations: 7.906 kB / 1.015 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/1.054, allocations: 167 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/1.054, allocations: 4 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/1.054, allocations: 3.984 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000103/1.054, allocations: 31.23 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/1.054, allocations: 53.05 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/1.054, allocations: 0 / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/1.054, allocations: 4.75 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.054, allocations: 3.828 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/1.055, allocations: 256.8 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/1.055, allocations: 46.2 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/1.055, allocations: 24.39 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/1.055, allocations: 144 / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/1.055, allocations: 34.55 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/1.055, allocations: 0 / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002052/1.055, allocations: 61.34 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/1.055, allocations: 51.41 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/1.055, allocations: 97.59 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/1.055, allocations: 29.7 kB / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/1.055, allocations: 91.94 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/1.055, allocations: 7.812 kB / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/1.055, allocations: 0 / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.055, allocations: 322.7 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.621e-05/1.055, allocations: 7.625 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.776e-05/1.056, allocations: 19.8 kB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.76e-05/1.056, allocations: 7.938 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.056, allocations: 0 / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.424e-05/1.056, allocations: 53.62 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.056, allocations: 9.406 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.056, allocations: 2.125 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.056, allocations: 0 / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/1.056, allocations: 15.8 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/1.056, allocations: 4 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/1.056, allocations: 11.98 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/1.056, allocations: 3.984 kB / 1.017 GB, free: 3.074 MB / 0.6355 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 9.332e-05/1.056, allocations: 116.8 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/1.056, allocations: 11.89 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/1.056, allocations: 4.344 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/1.056, allocations: 0 / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/1.056, allocations: 0 / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.056, allocations: 3.938 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/1.056, allocations: 153.9 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.056, allocations: 4 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/1.057, allocations: 15.98 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/1.057, allocations: 3.984 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/1.057, allocations: 4.188 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/1.057, allocations: 4 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.057, allocations: 0 / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/1.057, allocations: 148.3 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/1.057, allocations: 88.97 kB / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/1.057, allocations: 3.984 kB / 1.017 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/1.057, allocations: 12 kB / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/1.057, allocations: 11.92 kB / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/1.057, allocations: 3.984 kB / 1.017 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.867e-05/1.057, allocations: 83.22 kB / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/1.057, allocations: 0 / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002166/1.057, allocations: 12 kB / 1.017 GB, free: 2.344 MB / 0.6355 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.0002012/1.058, allocations: 107.1 kB / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001106/1.058, allocations: 35.48 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.058, allocations: 0 / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.908e-05/1.058, allocations: 19.62 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/1.058, allocations: 3.984 kB / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/1.058, allocations: 82.16 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/1.059, allocations: 0.6923 MB / 1.018 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.77e-05/1.059, allocations: 4 kB / 1.018 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/1.059, allocations: 11.44 kB / 1.018 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/1.059, allocations: 0 / 1.018 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of Templates: time 0.002804/1.061, allocations: 0.6963 MB / 1.019 GB, free: 0.6797 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches