Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.001352/0.001352, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001437/0.001437, allocations: 185 kB / 24.09 MB, free: 416 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.005/1.005, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.736/1.736, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.567e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001415/0.001441, allocations: 0.7196 MB / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00091/0.002351, allocations: 0.8794 MB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.002392, allocations: 0 / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.684e-05/0.002419, allocations: 3.938 kB / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.323e-05/0.002492, allocations: 9.219 kB / 0.7891 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.00262, allocations: 27.89 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.37e-05/0.002683, allocations: 43.92 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.388e-05/0.002767, allocations: 13.23 kB / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.78e-05/0.002845, allocations: 27.91 kB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.801e-05/0.002893, allocations: 19.97 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.002912, allocations: 9.656 kB / 0.7893 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-06/0.002921, allocations: 4 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.002939, allocations: 4 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.002965, allocations: 19.97 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.685e-05/0.003052, allocations: 35.78 kB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003054, allocations: 0.875 kB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003055, allocations: 0 / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.003058, allocations: 1.062 kB / 0.7893 GB, free: 10.38 MB / 0.7448 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.0003647/0.003423, allocations: 372.6 kB / 0.7897 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.00346, allocations: 13.38 kB / 0.7897 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.003487, allocations: 8.891 kB / 0.7897 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.57e-05/0.003563, allocations: 116.6 kB / 0.7898 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.003581, allocations: 384 / 0.7898 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.003589, allocations: 5.969 kB / 0.7898 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.003706, allocations: 70.86 kB / 0.7899 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.003713, allocations: 3.938 kB / 0.7899 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.00372, allocations: 0 / 0.7899 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.003725, allocations: 1.562 kB / 0.7899 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.001e-05/0.003755, allocations: 11.98 kB / 0.7899 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.004032, allocations: 264.3 kB / 0.7902 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.038e-05/0.004103, allocations: 45.67 kB / 0.7902 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.144e-05/0.004124, allocations: 23.62 kB / 0.7902 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.004139, allocations: 0 / 0.7902 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.004159, allocations: 41.39 kB / 0.7903 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.00416, allocations: 0 / 0.7903 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001321/0.004292, allocations: 49.67 kB / 0.7903 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.00432, allocations: 56.12 kB / 0.7904 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.00439, allocations: 183.5 kB / 0.7906 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.004401, allocations: 25.7 kB / 0.7906 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.004445, allocations: 130.9 kB / 0.7907 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.004461, allocations: 7.953 kB / 0.7907 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.004492, allocations: 27.36 kB / 0.7907 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.004604, allocations: 497.9 kB / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.004622, allocations: 4 kB / 0.7912 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.377e-05/0.004636, allocations: 7.984 kB / 0.7912 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.004668, allocations: 19.95 kB / 0.7912 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.00467, allocations: 1.094 kB / 0.7912 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.001e-05/0.00474, allocations: 57.58 kB / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.004752, allocations: 9.828 kB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.004757, allocations: 0 / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.004767, allocations: 3.938 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.936e-05/0.004836, allocations: 12 kB / 0.7913 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.004839, allocations: 0 / 0.7913 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/0.004866, allocations: 9.953 kB / 0.7913 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.00487, allocations: 0 / 0.7913 GB, free: 8.152 MB / 0.7448 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,intGreThr.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 6.972e-05/0.00494, allocations: 160.6 kB / 0.7915 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.004957, allocations: 7.891 kB / 0.7915 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.288e-05/0.00498, allocations: 12 kB / 0.7915 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.004982, allocations: 0.625 kB / 0.7915 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.004984, allocations: 0.5312 kB / 0.7915 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.004987, allocations: 0 / 0.7915 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.665e-05/0.005083, allocations: 106 kB / 0.7916 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.005085, allocations: 0 / 0.7916 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.091e-05/0.005116, allocations: 12.52 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.005118, allocations: 5.375 kB / 0.7916 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.005124, allocations: 3.938 kB / 0.7916 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.005124, allocations: 0 / 0.7916 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005125, allocations: 0 / 0.7916 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.005253, allocations: 200.4 kB / 0.7918 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.005266, allocations: 13.27 kB / 0.7918 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-06/0.005275, allocations: 3.938 kB / 0.7918 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.908e-05/0.005314, allocations: 8 kB / 0.7918 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.005353, allocations: 15.97 kB / 0.7919 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.005356, allocations: 1.156 kB / 0.7919 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.661e-05/0.005392, allocations: 123.2 kB / 0.792 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005393, allocations: 0 / 0.792 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001351/0.005528, allocations: 9.375 kB / 0.792 GB, free: 7.434 MB / 0.7448 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 (intGreThr.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 8.591e-05/0.005614, allocations: 99.23 kB / 0.7921 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.456e-05/0.005688, allocations: 32.47 kB / 0.7921 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.005691, allocations: 4 kB / 0.7921 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.656e-05/0.005718, allocations: 16.56 kB / 0.7921 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.005887, allocations: 13.33 kB / 0.7921 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.006111, allocations: 126.2 kB / 0.7923 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.906e-05/0.00615, allocations: 59.97 kB / 0.7923 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.638e-05/0.006177, allocations: 6.438 kB / 0.7923 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.006233, allocations: 82.19 kB / 0.7924 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.006234, allocations: 0 / 0.7924 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of Templates: time 0.002344/0.008578, allocations: 1.057 MB / 0.7934 GB, free: 5.922 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_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: 4.873236997053027]