Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.577/2.577, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.0009607/0.0009608, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 221.3 MB / 0.7915 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008982/0.0008985, allocations: 87.97 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.569e-05/3.586e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3536, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.397, allocations: 149.8 MB / 1.365 GB, free: 4.242 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/1.397, allocations: 69.45 kB / 1.365 GB, free: 4.207 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002831/1.4, allocations: 0.9509 MB / 1.366 GB, free: 3.352 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.146e-06/1.4, allocations: 7.938 kB / 1.366 GB, free: 3.344 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.021e-06/1.4, allocations: 0.7656 kB / 1.366 GB, free: 3.344 MB / 0.823 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.0004113/1.401, allocations: 351.6 kB / 1.366 GB, free: 2.961 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/1.401, allocations: 8.031 kB / 1.366 GB, free: 2.953 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/1.401, allocations: 8.531 kB / 1.366 GB, free: 2.945 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/1.401, allocations: 171 kB / 1.367 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/1.401, allocations: 4 kB / 1.367 GB, free: 2.734 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/1.401, allocations: 7.438 kB / 1.367 GB, free: 2.73 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/1.401, allocations: 48.38 kB / 1.367 GB, free: 2.684 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/1.401, allocations: 0 / 1.367 GB, free: 2.684 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/1.401, allocations: 0 / 1.367 GB, free: 2.684 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/1.401, allocations: 0 / 1.367 GB, free: 2.684 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/1.401, allocations: 33.11 kB / 1.367 GB, free: 2.66 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/1.402, allocations: 295.2 kB / 1.367 GB, free: 2.34 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.502e-05/1.402, allocations: 49.06 kB / 1.367 GB, free: 2.293 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/1.402, allocations: 19.33 kB / 1.367 GB, free: 2.277 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/1.402, allocations: 3.938 kB / 1.367 GB, free: 2.273 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/1.402, allocations: 30.56 kB / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/1.402, allocations: 0 / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001753/1.402, allocations: 63.31 kB / 1.367 GB, free: 2.176 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/1.402, allocations: 59.36 kB / 1.367 GB, free: 2.105 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/1.402, allocations: 104.3 kB / 1.367 GB, free: 2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/1.402, allocations: 32.83 kB / 1.367 GB, free: 1.965 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/1.402, allocations: 88.05 kB / 1.367 GB, free: 1.875 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/1.402, allocations: 6.781 kB / 1.367 GB, free: 1.871 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/1.402, allocations: 0 / 1.367 GB, free: 1.871 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001048/1.402, allocations: 321.9 kB / 1.368 GB, free: 1.551 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.711e-05/1.402, allocations: 6.938 kB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-05/1.402, allocations: 22.19 kB / 1.368 GB, free: 1.531 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.959e-05/1.402, allocations: 7.125 kB / 1.368 GB, free: 1.527 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/1.402, allocations: 0 / 1.368 GB, free: 1.527 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001027/1.403, allocations: 59.42 kB / 1.368 GB, free: 1.469 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.403, allocations: 4 kB / 1.368 GB, free: 1.465 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/1.403, allocations: 4 kB / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/1.403, allocations: 0 / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/1.403, allocations: 15.67 kB / 1.368 GB, free: 1.449 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.403, allocations: 0 / 1.368 GB, free: 1.449 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.524e-05/1.403, allocations: 19.94 kB / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/1.403, allocations: 4 kB / 1.368 GB, free: 1.426 MB / 0.823 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 6.084e-05/1.403, allocations: 104.9 kB / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/1.403, allocations: 7.906 kB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/1.403, allocations: 7.094 kB / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/1.403, allocations: 3.938 kB / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.403, allocations: 3.938 kB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.403, allocations: 3.312 kB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/1.403, allocations: 182.6 kB / 1.368 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.403, allocations: 0 / 1.368 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.159e-05/1.403, allocations: 11.98 kB / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/1.403, allocations: 0 / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/1.403, allocations: 4 kB / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.403, allocations: 0 / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.403, allocations: 3.984 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/1.403, allocations: 160.6 kB / 1.368 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/1.404, allocations: 81.02 kB / 1.368 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/1.404, allocations: 0 / 1.368 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/1.404, allocations: 11.98 kB / 1.368 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/1.404, allocations: 11.36 kB / 1.368 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/1.404, allocations: 4 kB / 1.368 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.436e-05/1.404, allocations: 90.52 kB / 1.368 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.404, allocations: 0 / 1.368 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002015/1.404, allocations: 8 kB / 1.368 GB, free: 0.6797 MB / 0.823 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.0001279/1.404, allocations: 106.6 kB / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001085/1.404, allocations: 30.28 kB / 1.369 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.404, allocations: 0 / 1.369 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.441e-05/1.404, allocations: 26.81 kB / 1.369 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/1.404, allocations: 10.41 kB / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/1.405, allocations: 88.16 kB / 1.369 GB, free: 432 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/1.405, allocations: 0.6848 MB / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.679e-05/1.405, allocations: 7.984 kB / 1.369 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/1.405, allocations: 11.44 kB / 1.369 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.405, allocations: 0 / 1.369 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of Templates: time 0.002683/1.408, allocations: 0.7485 MB / 1.37 GB, free: 14.96 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches