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.458/1.458, allocations: 249.3 MB / 261.8 MB, free: 5.832 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.001011/0.001011, allocations: 186.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008116/0.0008117, allocations: 82.47 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.892e-05/3.894e-05, allocations: 4 kB / 0.788 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.214, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7083/0.9224, allocations: 131.6 MB / 1.02 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.9227, allocations: 69.7 kB / 1.02 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002847/0.9256, allocations: 0.9749 MB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9256, allocations: 6.734 kB / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.9256, allocations: 0 / 1.021 GB, free: 2.109 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.0004129/0.926, allocations: 345.8 kB / 1.022 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.9261, allocations: 8.031 kB / 1.022 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.9261, allocations: 7.906 kB / 1.022 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.9263, allocations: 163 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.9263, allocations: 4 kB / 1.022 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.9264, allocations: 11.31 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.9265, allocations: 52.23 kB / 1.022 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.9265, allocations: 4 kB / 1.022 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.9265, allocations: 0 / 1.022 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.9265, allocations: 0 / 1.022 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.263e-05/0.9266, allocations: 33.98 kB / 1.022 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.9271, allocations: 283 kB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.9272, allocations: 52.81 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.9272, allocations: 20.77 kB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.9273, allocations: 8 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.9273, allocations: 30.56 kB / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.9273, allocations: 0 / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000192/0.9275, allocations: 65.36 kB / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.9275, allocations: 55.41 kB / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.612e-05/0.9276, allocations: 107.2 kB / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.9276, allocations: 25.7 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.9277, allocations: 87.89 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.9277, allocations: 7.812 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-06/0.9277, allocations: 0 / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.9278, allocations: 320.6 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.925e-05/0.9279, allocations: 11.94 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/0.9279, allocations: 15.69 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.064e-05/0.9279, allocations: 7.266 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.928, allocations: 0 / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001061/0.9281, allocations: 62.67 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.9281, allocations: 9.547 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.9281, allocations: 0 / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.9281, allocations: 3.938 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.9283, allocations: 15.98 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.9283, allocations: 0.7031 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.051e-05/0.9284, allocations: 15.98 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.9284, allocations: 3.953 kB / 1.023 GB, free: 204 kB / 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 6.355e-05/0.9284, allocations: 112.3 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.9285, allocations: 7.844 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.9285, allocations: 11.41 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.9285, allocations: 0 / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.9285, allocations: 0 / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.9285, allocations: 0 / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.9287, allocations: 176.4 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9287, allocations: 4 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.954e-05/0.9288, allocations: 11.98 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.9288, allocations: 0 / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.9288, allocations: 0.875 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.9289, allocations: 4 kB / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.9289, allocations: 0 / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.929, allocations: 169 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.9291, allocations: 81.02 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.9291, allocations: 0 / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.9292, allocations: 14.73 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.9293, allocations: 11.48 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.9293, allocations: 0 / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.9293, allocations: 99.44 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9293, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002137/0.9296, allocations: 12 kB / 1.024 GB, free: 15.44 MB / 0.6511 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.0001407/0.9297, allocations: 103.2 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.9298, allocations: 38.11 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9298, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.38e-05/0.9299, allocations: 15.56 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.9301, allocations: 14.39 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.9303, allocations: 79.72 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.9306, allocations: 0.6848 MB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.459e-05/0.9306, allocations: 4.25 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.9307, allocations: 15.42 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of SimCode: time 3.2e-07/0.9307, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of Templates: time 0.002717/0.9334, allocations: 0.7476 MB / 1.025 GB, free: 13.73 MB / 0.6511 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