Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.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.001016/0.001016, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009698/0.0009698, allocations: 173 kB / 23.49 MB, free: 1.059 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.097/1.097, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.193/2.193, allocations: 429.5 MB / 0.6736 GB, free: 4.016 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.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.108e-06/4.108e-06, allocations: 0 / 0.8783 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.62e-05/4.031e-05, allocations: 2.312 kB / 0.8783 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002674/0.002714, allocations: 0.8633 MB / 0.8791 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.00474, allocations: 0.9501 MB / 0.88 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.004923, allocations: 3.938 kB / 0.88 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.005112, allocations: 7.875 kB / 0.88 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.486e-05/0.005177, allocations: 20.69 kB / 0.8801 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.005504, allocations: 40.97 kB / 0.8801 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.005724, allocations: 103.7 kB / 0.8802 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.005919, allocations: 32.84 kB / 0.8802 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.00624, allocations: 67.77 kB / 0.8803 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.006355, allocations: 35.88 kB / 0.8803 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.006384, allocations: 9.094 kB / 0.8803 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.664e-05/0.006451, allocations: 8 kB / 0.8803 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.00648, allocations: 20.58 kB / 0.8804 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.006526, allocations: 19.94 kB / 0.8804 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.006768, allocations: 72.66 kB / 0.8805 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.006774, allocations: 0 / 0.8805 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.345e-06/0.006776, allocations: 0 / 0.8805 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.006783, allocations: 4.719 kB / 0.8805 GB, free: 4.324 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006924/0.007476, allocations: 427.8 kB / 0.8809 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.007535, allocations: 12.03 kB / 0.8809 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.007753, allocations: 20.89 kB / 0.8809 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.008029, allocations: 148.4 kB / 0.881 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.008045, allocations: 4.375 kB / 0.881 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.008064, allocations: 8.375 kB / 0.881 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.008293, allocations: 86.05 kB / 0.8811 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.008301, allocations: 0.8125 kB / 0.8811 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.008316, allocations: 4.969 kB / 0.8811 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.008329, allocations: 4.375 kB / 0.8811 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.094e-05/0.0084, allocations: 25.39 kB / 0.8812 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005657/0.008966, allocations: 327.5 kB / 0.8815 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.009123, allocations: 51.05 kB / 0.8815 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.009169, allocations: 23.75 kB / 0.8815 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.009191, allocations: 0 / 0.8815 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.00923, allocations: 33.39 kB / 0.8816 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.009231, allocations: 0 / 0.8816 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002673/0.009498, allocations: 65.58 kB / 0.8816 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.00954, allocations: 51.41 kB / 0.8817 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.009679, allocations: 188.4 kB / 0.8819 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.009703, allocations: 29.64 kB / 0.8819 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.009789, allocations: 154.8 kB / 0.882 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.009816, allocations: 15.88 kB / 0.8821 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.009869, allocations: 27.38 kB / 0.8821 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.01004, allocations: 0.4961 MB / 0.8826 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.01008, allocations: 4 kB / 0.8826 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.813e-05/0.0101, allocations: 4 kB / 0.8826 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.152e-05/0.01018, allocations: 23.81 kB / 0.8826 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.01018, allocations: 3.984 kB / 0.8826 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000128/0.01031, allocations: 61.59 kB / 0.8827 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.01033, allocations: 4 kB / 0.8827 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.01034, allocations: 0 / 0.8827 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.01036, allocations: 0 / 0.8827 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.01047, allocations: 15.98 kB / 0.8827 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.01047, allocations: 0 / 0.8827 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.01053, allocations: 7.984 kB / 0.8827 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.01054, allocations: 4 kB / 0.8827 GB, free: 1.828 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 (5): * Single equations (assignments): 5 * 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 0.0001031/0.01064, allocations: 160.5 kB / 0.8828 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.01067, allocations: 7.953 kB / 0.8829 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.01071, allocations: 12.34 kB / 0.8829 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.01071, allocations: 0 / 0.8829 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.01072, allocations: 3.984 kB / 0.8829 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.01072, allocations: 4 kB / 0.8829 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.01091, allocations: 136.5 kB / 0.883 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.01091, allocations: 4 kB / 0.883 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.01097, allocations: 7.938 kB / 0.883 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01097, allocations: 0 / 0.883 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.01098, allocations: 0 / 0.883 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.01099, allocations: 0 / 0.883 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.01099, allocations: 4 kB / 0.883 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.01119, allocations: 207.8 kB / 0.8832 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.01121, allocations: 7.953 kB / 0.8832 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.01124, allocations: 0 / 0.8832 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.638e-05/0.01132, allocations: 15.98 kB / 0.8832 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.01139, allocations: 11.98 kB / 0.8833 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.01139, allocations: 4.062 kB / 0.8833 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.593e-05/0.01147, allocations: 149.1 kB / 0.8834 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.01147, allocations: 0 / 0.8834 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002566/0.01173, allocations: 19.89 kB / 0.8834 GB, free: 1.02 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 (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.0001506/0.01188, allocations: 103.2 kB / 0.8835 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.01202, allocations: 23.67 kB / 0.8835 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01202, allocations: 4 kB / 0.8835 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.01206, allocations: 23.69 kB / 0.8836 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.01237, allocations: 16.95 kB / 0.8836 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007702/0.01314, allocations: 190.6 kB / 0.8838 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.142e-05/0.0132, allocations: 63.34 kB / 0.8838 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.179e-05/0.01325, allocations: 11.98 kB / 0.8838 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.0133, allocations: 12.5 kB / 0.8838 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of SimCode: time 1.483e-06/0.0133, allocations: 0 / 0.8838 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of Templates: time 0.003522/0.01682, allocations: 1.103 MB / 0.8849 GB, free: 15.43 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.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.733032610965893]