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.465/1.465, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001584/0.001584, allocations: 184.5 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0009894/0.0009894, allocations: 96.31 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004013, allocations: 9.031 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2454, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1743/0.4198, allocations: 131.7 MB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.42, allocations: 67.97 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002719/0.4228, allocations: 0.9773 MB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4228, allocations: 4 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.4228, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 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.0004244/0.4232, allocations: 355.2 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4233, allocations: 8.031 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.4233, allocations: 11.89 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.4234, allocations: 163 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.4235, allocations: 4 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.4235, allocations: 4 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.4237, allocations: 73.59 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.4237, allocations: 0 / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.4237, allocations: 4 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.4237, allocations: 4 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.424, allocations: 63.94 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.4244, allocations: 288.7 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.4246, allocations: 70.48 kB / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.4246, allocations: 0 / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.4246, allocations: 34.59 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.4246, allocations: 0 / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.000406/0.4251, allocations: 117.8 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.4251, allocations: 63.33 kB / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.4252, allocations: 97 kB / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.4252, allocations: 25.7 kB / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.4253, allocations: 96.03 kB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.4253, allocations: 7.844 kB / 1.031 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.4253, allocations: 4 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4254, allocations: 322.8 kB / 1.031 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-05/0.4255, allocations: 31.91 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.043e-05/0.4256, allocations: 23.98 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.895e-05/0.4257, allocations: 39.91 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4257, allocations: 0 / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000251/0.426, allocations: 93.55 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.426, allocations: 8 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.426, allocations: 0 / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.426, allocations: 4 kB / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.4262, allocations: 15.92 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4262, allocations: 0 / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.355e-05/0.4263, allocations: 15.98 kB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.4263, allocations: 0 / 1.032 GB, free: 8.762 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.426e-05/0.4264, allocations: 117.8 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.4264, allocations: 4.328 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.4264, allocations: 7.906 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4264, allocations: 0 / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4265, allocations: 3.984 kB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4265, allocations: 0 / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.4266, allocations: 177.7 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4267, allocations: 0 / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-05/0.4267, allocations: 11.98 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4268, allocations: 8 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.4268, allocations: 4 kB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4268, allocations: 320 / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4268, allocations: 0 / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.4271, allocations: 199.3 kB / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.4271, allocations: 85.09 kB / 1.032 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.4271, allocations: 4 kB / 1.032 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4273, allocations: 11.98 kB / 1.032 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.4273, allocations: 11.98 kB / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.4273, allocations: 0 / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.4274, allocations: 91.25 kB / 1.032 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.537e-06/0.4274, allocations: 0 / 1.032 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002089/0.4276, allocations: 23.94 kB / 1.032 GB, free: 7.918 MB / 0.6823 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 () * 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 (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.0001449/0.4278, allocations: 104.5 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.428, allocations: 59.95 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.428, allocations: 7.938 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.4281, allocations: 39.97 kB / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.4283, allocations: 7.625 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.4287, allocations: 141.3 kB / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.4289, allocations: 0.6888 MB / 1.033 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.814e-05/0.429, allocations: 3.984 kB / 1.033 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.429, allocations: 15.38 kB / 1.033 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/0.429, allocations: 0 / 1.033 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of Templates: time 0.002479/0.4315, allocations: 0.7397 MB / 1.034 GB, free: 6.066 MB / 0.6823 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