Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001029/0.001029, 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.001136/0.001136, 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.067/1.067, allocations: 177.1 MB / 204.2 MB, free: 5.441 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 2.012/2.012, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] 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.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.736e-05/4.056e-05, allocations: 9.203 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002062/0.002102, allocations: 0.827 MB / 0.8124 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004223/0.006325, allocations: 0.9218 MB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.006447, allocations: 9.625 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.006593, allocations: 15.86 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.293e-05/0.006636, allocations: 11.88 kB / 0.8134 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.00687, allocations: 41.3 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.006994, allocations: 75.78 kB / 0.8135 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.007113, allocations: 15.98 kB / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.00727, allocations: 47.89 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.797e-05/0.007338, allocations: 16.52 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.007358, allocations: 8.688 kB / 0.8136 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.21e-05/0.00741, allocations: 19.97 kB / 0.8136 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.007426, allocations: 9.312 kB / 0.8136 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.007456, allocations: 19.92 kB / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.007603, allocations: 51.77 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.007606, allocations: 0 / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.442e-06/0.007608, allocations: 5.688 kB / 0.8137 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.007612, allocations: 0 / 0.8137 GB, free: 15.62 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004919/0.008104, allocations: 412.3 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.008149, allocations: 8.031 kB / 0.8141 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.008305, allocations: 21.97 kB / 0.8141 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.008504, allocations: 149 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.008515, allocations: 5.375 kB / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.008529, allocations: 4.375 kB / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.008653, allocations: 71.75 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.008663, allocations: 192 / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.008674, allocations: 384 / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.008681, allocations: 2.656 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.954e-05/0.008721, allocations: 19.92 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.009151, allocations: 303.6 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.009253, allocations: 35.05 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.009282, allocations: 20.22 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.009299, allocations: 0.7188 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.009324, allocations: 37.39 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.009326, allocations: 0.5 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001847/0.00951, allocations: 57.75 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.009541, allocations: 57 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.009654, allocations: 196.6 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.009675, allocations: 33.64 kB / 0.815 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.009749, allocations: 142.8 kB / 0.8152 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.009767, allocations: 8.562 kB / 0.8152 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.009807, allocations: 24.16 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.009942, allocations: 0.4923 MB / 0.8157 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.688e-05/0.009969, allocations: 4 kB / 0.8157 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/0.009986, allocations: 4.594 kB / 0.8157 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.817e-05/0.01002, allocations: 12.5 kB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01003, allocations: 0 / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.249e-05/0.01012, allocations: 62.45 kB / 0.8158 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.01013, allocations: 4 kB / 0.8158 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.01014, allocations: 0 / 0.8158 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.01016, allocations: 5.203 kB / 0.8158 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.01023, allocations: 4 kB / 0.8158 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.01024, allocations: 0 / 0.8158 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.567e-05/0.01027, allocations: 8.969 kB / 0.8158 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.01028, allocations: 0 / 0.8158 GB, free: 13.25 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: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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 9.429e-05/0.01038, allocations: 162.8 kB / 0.8159 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.0104, allocations: 11.89 kB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.01044, allocations: 8.344 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01044, allocations: 4 kB / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.01044, allocations: 0 / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01045, allocations: 0 / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.0106, allocations: 139.8 kB / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.0106, allocations: 3.938 kB / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.879e-05/0.01063, allocations: 0 / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.01063, allocations: 7.938 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.01064, allocations: 0 / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01064, allocations: 7.984 kB / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01064, allocations: 0 / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.01078, allocations: 191.9 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.0108, allocations: 9.031 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.01082, allocations: 4 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.16e-05/0.01088, allocations: 7.984 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.01093, allocations: 8.484 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.01094, allocations: 0.5625 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.291e-05/0.011, allocations: 143.1 kB / 0.8165 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.011, allocations: 5.625 kB / 0.8165 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002315/0.01123, allocations: 15.89 kB / 0.8165 GB, free: 12.48 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001168/0.01135, allocations: 100.7 kB / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.01145, allocations: 27.66 kB / 0.8166 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01145, allocations: 0 / 0.8166 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.162e-05/0.01148, allocations: 24.77 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.01176, allocations: 4 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005812/0.01234, allocations: 179.5 kB / 0.8168 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.338e-05/0.01238, allocations: 59.34 kB / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.388e-05/0.01241, allocations: 9.047 kB / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.01246, allocations: 13.53 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of SimCode: time 1.042e-06/0.01246, allocations: 0 / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of Templates: time 0.002978/0.01543, allocations: 0.9246 MB / 0.8178 GB, free: 11.11 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_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.580675851088017]