Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009816/0.0009816, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 161 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.07/1.07, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.89/1.89, allocations: 377.9 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.325e-05, allocations: 5.125 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002082/0.002115, allocations: 0.7115 MB / 0.8122 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.003364, allocations: 0.8828 MB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.003414, allocations: 0 / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.076e-05/0.003455, allocations: 4.594 kB / 0.8131 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.506e-05/0.00355, allocations: 8.797 kB / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.00375, allocations: 23.92 kB / 0.8131 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.56e-05/0.003845, allocations: 45.06 kB / 0.8132 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.003976, allocations: 15.97 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.004094, allocations: 28.03 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.004157, allocations: 15.88 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.004183, allocations: 5.438 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.004195, allocations: 4 kB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.004219, allocations: 15.97 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.004252, allocations: 13.47 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.004369, allocations: 43.81 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.004374, allocations: 0 / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.323e-06/0.004375, allocations: 0 / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.00438, allocations: 0 / 0.8133 GB, free: 15.9 MB / 0.7761 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.0004816/0.004862, allocations: 369.2 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.004913, allocations: 9.156 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.004963, allocations: 12.89 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.00509, allocations: 112.6 kB / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.005117, allocations: 5.75 kB / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.005133, allocations: 4.312 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.005318, allocations: 78.84 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.005331, allocations: 4.562 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.005343, allocations: 1.094 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.005352, allocations: 0 / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.483e-05/0.005407, allocations: 15.98 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.005824, allocations: 280.4 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.005944, allocations: 55.69 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.005988, allocations: 16.98 kB / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.006012, allocations: 4 kB / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.00604, allocations: 33.39 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.006042, allocations: 0 / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0002326/0.006274, allocations: 59.55 kB / 0.8143 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.00631, allocations: 59.34 kB / 0.8144 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.006406, allocations: 173.9 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.006419, allocations: 25.7 kB / 0.8146 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.006556, allocations: 136.2 kB / 0.8147 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.006576, allocations: 3.953 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.006619, allocations: 27.36 kB / 0.8147 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.00674, allocations: 496.1 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.02e-05/0.00677, allocations: 4.5 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/0.006791, allocations: 8.547 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.682e-05/0.006848, allocations: 20.25 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.006853, allocations: 3.938 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001191/0.006972, allocations: 62.91 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.006992, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.006998, allocations: 0 / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.007019, allocations: 0.5938 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.007133, allocations: 12.62 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.00714, allocations: 0 / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/0.007179, allocations: 9.953 kB / 0.8153 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.007188, allocations: 4 kB / 0.8153 GB, free: 13.64 MB / 0.7761 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 (reaToInt.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.458e-05/0.007272, allocations: 156.5 kB / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.007301, allocations: 11.89 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.007334, allocations: 8.531 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.007338, allocations: 4.328 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.007343, allocations: 0.7188 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.007348, allocations: 3.984 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.00749, allocations: 121.4 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.007493, allocations: 7.922 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.007535, allocations: 4.938 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.007538, allocations: 4 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.007549, allocations: 9.328 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.00755, allocations: 0 / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.007552, allocations: 0 / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.007725, allocations: 200.8 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.007745, allocations: 11.83 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.007759, allocations: 0 / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.455e-05/0.007823, allocations: 10.3 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.007886, allocations: 11.98 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.007891, allocations: 0 / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.075e-05/0.007942, allocations: 135.2 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007942, allocations: 0 / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002215/0.008163, allocations: 4 kB / 0.816 GB, free: 12.89 MB / 0.7761 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.y,reaToInt.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001061/0.008269, allocations: 98.69 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.008386, allocations: 35.61 kB / 0.8162 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008388, allocations: 0 / 0.8162 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.73e-05/0.008425, allocations: 19.67 kB / 0.8162 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.00868, allocations: 15.94 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.008999, allocations: 123.1 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.679e-05/0.009036, allocations: 55.36 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.316e-05/0.009069, allocations: 10.02 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.009114, allocations: 17.03 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of SimCode: time 6.82e-07/0.009114, allocations: 0 / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of Templates: time 0.002942/0.01206, allocations: 0.9683 MB / 0.8173 GB, free: 11.53 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.366837272886187]