Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.0009681/0.0009681, allocations: 83.59 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.0009666/0.0009666, allocations: 161 kB / 23.82 MB, free: 0.75 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.033/1.033, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.914/1.914, allocations: 377.8 MB / 0.6236 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.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.878e-06/3.878e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.21e-05/4.598e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002144/0.00219, allocations: 0.7258 MB / 0.8123 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.003372, allocations: 0.8742 MB / 0.8131 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.003417, allocations: 4 kB / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.853e-05/0.003455, allocations: 4.812 kB / 0.8131 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.683e-05/0.003542, allocations: 7.922 kB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.003717, allocations: 24.69 kB / 0.8132 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.003849, allocations: 47.91 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.00396, allocations: 5.688 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.722e-05/0.004057, allocations: 27.92 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.757e-05/0.004135, allocations: 24.03 kB / 0.8133 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.004159, allocations: 7.938 kB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.004172, allocations: 4 kB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.004194, allocations: 9.516 kB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.004222, allocations: 8 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.004331, allocations: 51.61 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.004334, allocations: 0 / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.81e-07/0.004335, allocations: 0.9375 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.004339, allocations: 0 / 0.8133 GB, free: 15.91 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.0004594/0.004799, allocations: 370 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.004845, allocations: 12.03 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.004896, allocations: 12.89 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.005011, allocations: 110.4 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.005034, allocations: 384 / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.005051, allocations: 4.375 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.00523, allocations: 74.84 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.005243, allocations: 3.938 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.005256, allocations: 5 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.005265, allocations: 0 / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.413e-05/0.005329, allocations: 16.52 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.005759, allocations: 280.2 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.005887, allocations: 51.67 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.005926, allocations: 20.84 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.005946, allocations: 4.031 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.005969, allocations: 33.39 kB / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.00597, allocations: 2.531 kB / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0002138/0.006184, allocations: 57.69 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.006219, allocations: 59.34 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.006324, allocations: 173.9 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.006337, allocations: 25.7 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.006397, allocations: 134.9 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.006417, allocations: 8.484 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.00646, allocations: 23.38 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.00666, allocations: 496.8 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.364e-05/0.006693, allocations: 4 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.529e-05/0.006719, allocations: 8.531 kB / 0.8152 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.151e-05/0.00678, allocations: 29.58 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.006784, allocations: 3.938 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001125/0.006896, allocations: 61.56 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.00691, allocations: 4.625 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.006915, allocations: 0 / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.006932, allocations: 0.6875 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.007042, allocations: 11.98 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.007047, allocations: 0.6875 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.007092, allocations: 4.812 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.007099, allocations: 0 / 0.8154 GB, free: 13.66 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,intGreEquThr.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.343e-05/0.007183, allocations: 165.4 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.007215, allocations: 7.953 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.007246, allocations: 8 kB / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007247, allocations: 1.219 kB / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.007251, allocations: 0 / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.007254, allocations: 0 / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.007397, allocations: 129.5 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.007399, allocations: 3.938 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.00746, allocations: 14.2 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.007463, allocations: 3.938 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.007471, allocations: 0 / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.007473, allocations: 4 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007474, allocations: 0 / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.007644, allocations: 203.9 kB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.007657, allocations: 14.86 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.007672, allocations: 4 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.007751, allocations: 4 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.007815, allocations: 15.97 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.007824, allocations: 4 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.933e-05/0.007873, allocations: 123.2 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.01e-07/0.007873, allocations: 0 / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002572/0.00813, allocations: 8 kB / 0.816 GB, free: 12.9 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 (intGreEquThr.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 9.47e-05/0.008225, allocations: 104.6 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.008356, allocations: 28.23 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.008358, allocations: 0 / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.192e-05/0.00841, allocations: 25.47 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.008704, allocations: 14.33 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.00905, allocations: 127.5 kB / 0.8163 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.21e-05/0.009092, allocations: 59.34 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.779e-05/0.00913, allocations: 5.75 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.009182, allocations: 16.48 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of SimCode: time 8.01e-07/0.009183, allocations: 0.7188 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of Templates: time 0.003376/0.01256, allocations: 0.9676 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.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.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.382663767784834]