Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001456/0.001456, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.00159/0.00159, allocations: 173 kB / 24.06 MB, free: 452 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 1.043/1.043, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.283/2.283, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 1.094 kB / 0.8795 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.656e-05, allocations: 2.312 kB / 0.8795 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001355/0.001372, allocations: 0.8292 MB / 0.8803 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.002338, allocations: 0.9281 MB / 0.8812 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.577e-05/0.002424, allocations: 7.938 kB / 0.8812 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.002558, allocations: 11.81 kB / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.665e-05/0.002595, allocations: 17.22 kB / 0.8812 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.002784, allocations: 31.84 kB / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.744e-05/0.002882, allocations: 75.77 kB / 0.8813 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.00299, allocations: 25.02 kB / 0.8813 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.003134, allocations: 51.83 kB / 0.8814 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.003201, allocations: 20.62 kB / 0.8814 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.003217, allocations: 4 kB / 0.8814 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.169e-05/0.003259, allocations: 8.656 kB / 0.8814 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.003279, allocations: 15.92 kB / 0.8814 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.0033, allocations: 23.64 kB / 0.8815 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.003419, allocations: 59.69 kB / 0.8815 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003421, allocations: 0 / 0.8815 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003422, allocations: 0 / 0.8815 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.003428, allocations: 0 / 0.8815 GB, free: 3.867 MB / 0.8386 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.0003903/0.003818, allocations: 408.3 kB / 0.8819 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.003857, allocations: 8.031 kB / 0.8819 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.003975, allocations: 16.89 kB / 0.8819 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.004136, allocations: 152.1 kB / 0.8821 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-06/0.004145, allocations: 384 / 0.8821 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.004155, allocations: 4.375 kB / 0.8821 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.00426, allocations: 71.84 kB / 0.8821 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.004268, allocations: 192 / 0.8821 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.004277, allocations: 8.312 kB / 0.8821 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.004282, allocations: 1.438 kB / 0.8822 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.125e-05/0.004314, allocations: 15.92 kB / 0.8822 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.00462, allocations: 277.8 kB / 0.8824 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.22e-05/0.004703, allocations: 47.02 kB / 0.8825 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.689e-05/0.00472, allocations: 11.75 kB / 0.8825 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.004734, allocations: 2.594 kB / 0.8825 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.004758, allocations: 41.33 kB / 0.8825 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.004759, allocations: 96 / 0.8825 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001322/0.004892, allocations: 53.67 kB / 0.8826 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.004925, allocations: 51.41 kB / 0.8826 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.00501, allocations: 184.4 kB / 0.8828 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.005028, allocations: 33.7 kB / 0.8828 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.005085, allocations: 148.7 kB / 0.883 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.005099, allocations: 7.953 kB / 0.883 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.005125, allocations: 23.36 kB / 0.883 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.005244, allocations: 0.4884 MB / 0.8835 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.005255, allocations: 3.984 kB / 0.8835 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.978e-06/0.005265, allocations: 4.719 kB / 0.8835 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/0.005299, allocations: 27.61 kB / 0.8835 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005301, allocations: 1.656 kB / 0.8835 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.965e-05/0.005361, allocations: 49.58 kB / 0.8836 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.005373, allocations: 4 kB / 0.8836 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.005378, allocations: 0 / 0.8836 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.005386, allocations: 4.531 kB / 0.8836 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.007e-05/0.005426, allocations: 0 / 0.8836 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.005431, allocations: 4.984 kB / 0.8836 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.005454, allocations: 4 kB / 0.8836 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.005458, allocations: 8 kB / 0.8836 GB, free: 1.547 MB / 0.8386 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.3e-05/0.005531, allocations: 160.6 kB / 0.8837 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.005549, allocations: 15.83 kB / 0.8838 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.005575, allocations: 16.33 kB / 0.8838 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.005577, allocations: 0 / 0.8838 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.005579, allocations: 0 / 0.8838 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.005582, allocations: 0 / 0.8838 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.375e-05/0.005676, allocations: 105.2 kB / 0.8839 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005677, allocations: 7.938 kB / 0.8839 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.264e-05/0.005689, allocations: 0 / 0.8839 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005691, allocations: 4 kB / 0.8839 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.005697, allocations: 4 kB / 0.8839 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.005699, allocations: 7.922 kB / 0.8839 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.0057, allocations: 0 / 0.8839 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.0058, allocations: 192.2 kB / 0.8841 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.005809, allocations: 7.953 kB / 0.8841 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.005824, allocations: 0 / 0.8841 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.062e-05/0.005864, allocations: 15.92 kB / 0.8841 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.005908, allocations: 15.95 kB / 0.8841 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-06/0.005911, allocations: 0 / 0.8841 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.831e-05/0.005959, allocations: 143.2 kB / 0.8843 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005959, allocations: 0 / 0.8843 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001354/0.006095, allocations: 15.94 kB / 0.8843 GB, free: 0.7891 MB / 0.8386 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 7.285e-05/0.006168, allocations: 95.23 kB / 0.8844 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.739e-05/0.006235, allocations: 19.69 kB / 0.8844 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.006236, allocations: 0 / 0.8844 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.148e-05/0.006258, allocations: 15.67 kB / 0.8844 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.006437, allocations: 17.66 kB / 0.8844 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.006827, allocations: 174 kB / 0.8846 GB, free: 436 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.536e-05/0.006863, allocations: 59.34 kB / 0.8846 GB, free: 356 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.006895, allocations: 7.984 kB / 0.8846 GB, free: 348 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.006957, allocations: 74.2 kB / 0.8847 GB, free: 272 kB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/0.006957, allocations: 0 / 0.8847 GB, free: 272 kB / 0.8386 GB Notification: Performance of Templates: time 0.002906/0.009863, allocations: 1.033 MB / 0.8857 GB, free: 15.25 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.877267472911626]