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.001057/0.001057, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001137/0.001137, allocations: 173 kB / 24.28 MB, free: 276 kB / 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 0.9926/0.9926, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.974/1.974, allocations: 377.9 MB / 0.6239 GB, free: 8.578 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 4.348e-06/4.348e-06, allocations: 0 / 0.8116 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/3.38e-05, allocations: 2.969 kB / 0.8116 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002197/0.00223, allocations: 0.8279 MB / 0.8124 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.00324, allocations: 0.9265 MB / 0.8133 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.837e-05/0.003339, allocations: 7.938 kB / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.003485, allocations: 11.81 kB / 0.8133 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.444e-05/0.003519, allocations: 9.406 kB / 0.8133 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.003739, allocations: 39.84 kB / 0.8134 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.00385, allocations: 75.75 kB / 0.8134 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.003967, allocations: 16 kB / 0.8135 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.00413, allocations: 56.31 kB / 0.8135 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.004196, allocations: 17.58 kB / 0.8135 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.004216, allocations: 8 kB / 0.8135 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.259e-05/0.004259, allocations: 11.94 kB / 0.8136 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.004273, allocations: 11.97 kB / 0.8136 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.004321, allocations: 20.55 kB / 0.8136 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.004462, allocations: 55.61 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.004465, allocations: 1.625 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.543e-06/0.004466, allocations: 0 / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.004471, allocations: 0 / 0.8136 GB, free: 15.94 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.0004426/0.004914, allocations: 405 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.004957, allocations: 12.03 kB / 0.814 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.005107, allocations: 17.58 kB / 0.8141 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.005308, allocations: 153.1 kB / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.005321, allocations: 5.281 kB / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.005333, allocations: 4.375 kB / 0.8142 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.005466, allocations: 80.12 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.005474, allocations: 192 / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.005486, allocations: 4.359 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.005495, allocations: 384 / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.065e-05/0.005536, allocations: 17.67 kB / 0.8143 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.0059, allocations: 303.6 kB / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.077e-05/0.00599, allocations: 40.09 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/0.006014, allocations: 19.77 kB / 0.8147 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.006028, allocations: 0 / 0.8147 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.00605, allocations: 40.45 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.006051, allocations: 0 / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001607/0.006212, allocations: 53.67 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.006248, allocations: 51.41 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.006349, allocations: 195.1 kB / 0.815 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.006366, allocations: 29.7 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.006422, allocations: 146.8 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.006437, allocations: 3.953 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.00647, allocations: 28.67 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.006575, allocations: 0.4884 MB / 0.8157 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.006594, allocations: 0 / 0.8157 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.509e-05/0.006609, allocations: 7.984 kB / 0.8157 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.091e-05/0.00665, allocations: 24.25 kB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.006652, allocations: 0.5625 kB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.192e-05/0.006724, allocations: 57.58 kB / 0.8157 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.006739, allocations: 4.781 kB / 0.8157 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.006743, allocations: 0 / 0.8157 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.006756, allocations: 1.156 kB / 0.8157 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.828e-05/0.006815, allocations: 4 kB / 0.8157 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.00682, allocations: 0 / 0.8157 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.006849, allocations: 10.48 kB / 0.8158 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.006854, allocations: 0 / 0.8158 GB, free: 13.57 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 7.507e-05/0.006929, allocations: 156.6 kB / 0.8159 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.006949, allocations: 15.89 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.006973, allocations: 12.27 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006975, allocations: 0.5312 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.006978, allocations: 4 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.00698, allocations: 4.656 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.007084, allocations: 128.6 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.007088, allocations: 8.797 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.007107, allocations: 0 / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.00711, allocations: 4.875 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.007116, allocations: 0 / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.007119, allocations: 9.219 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.00712, allocations: 0 / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.007235, allocations: 196.2 kB / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.007247, allocations: 11.92 kB / 0.8163 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.007266, allocations: 0.8438 kB / 0.8163 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.007306, allocations: 4 kB / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.007353, allocations: 14.2 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.007357, allocations: 3.938 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.09e-05/0.007408, allocations: 144.9 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007408, allocations: 0 / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001506/0.007558, allocations: 15.89 kB / 0.8165 GB, free: 12.79 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 9.8e-05/0.007656, allocations: 96.28 kB / 0.8166 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.191e-05/0.007748, allocations: 27.67 kB / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.007749, allocations: 1.125 kB / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.118e-05/0.007771, allocations: 11.69 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.007976, allocations: 17.11 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.008494, allocations: 177.9 kB / 0.8168 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.789e-05/0.008532, allocations: 59.34 kB / 0.8168 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3e-05/0.008562, allocations: 6.406 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.008597, allocations: 16.5 kB / 0.8169 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of SimCode: time 7.62e-07/0.008597, allocations: 0 / 0.8169 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of Templates: time 0.002868/0.01147, allocations: 0.9202 MB / 0.8178 GB, free: 11.44 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.218594851903617]