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.001058/0.001058, 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.001134/0.001134, allocations: 165 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 0.9835/0.9835, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.893/1.893, allocations: 377.9 MB / 0.6236 GB, free: 8.555 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 3.116e-06/3.116e-06, allocations: 0 / 0.8116 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.631e-05/3.942e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002159/0.002198, allocations: 0.8262 MB / 0.8124 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.00356, allocations: 0.9293 MB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.003665, allocations: 4.781 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.003827, allocations: 15.86 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.35e-05/0.00387, allocations: 12.88 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.004127, allocations: 29.5 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.004241, allocations: 83.7 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.004356, allocations: 19.98 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.004496, allocations: 47.83 kB / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.004562, allocations: 24.94 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.004579, allocations: 4 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.531e-05/0.004624, allocations: 12 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.004641, allocations: 12.72 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.004669, allocations: 15.97 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.004806, allocations: 53.45 kB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.004809, allocations: 3.938 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.282e-06/0.00481, allocations: 0 / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.004815, allocations: 4 kB / 0.8137 GB, free: 15.54 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.00045/0.005265, allocations: 405.9 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.005302, allocations: 8.031 kB / 0.8141 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.00543, allocations: 20.88 kB / 0.8141 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.005623, allocations: 154.1 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.005634, allocations: 4.375 kB / 0.8142 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.005645, allocations: 4.375 kB / 0.8142 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.00576, allocations: 67.47 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.005767, allocations: 1.125 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.005777, allocations: 384 / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.005785, allocations: 4.375 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.528e-05/0.00583, allocations: 30.45 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.006175, allocations: 295.7 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.346e-05/0.006268, allocations: 47.08 kB / 0.8147 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.006291, allocations: 15.69 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.006306, allocations: 3.984 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.006326, allocations: 33.92 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.006328, allocations: 0.7188 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001655/0.006494, allocations: 57.67 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.006524, allocations: 51.94 kB / 0.8148 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.937e-05/0.006613, allocations: 197.5 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.00663, allocations: 29.7 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.006682, allocations: 142.8 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.006698, allocations: 7.938 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.006729, allocations: 27.38 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.006843, allocations: 0.4889 MB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.006866, allocations: 4.594 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.309e-05/0.006879, allocations: 4 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.006912, allocations: 16.45 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006914, allocations: 0 / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.559e-05/0.00698, allocations: 58.69 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.006993, allocations: 7.984 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.006998, allocations: 0 / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.007011, allocations: 9.312 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.395e-05/0.007065, allocations: 0 / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.00707, allocations: 0 / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.007094, allocations: 8.531 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.007101, allocations: 7.984 kB / 0.8158 GB, free: 13.17 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 6.674e-05/0.007168, allocations: 153.7 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.007183, allocations: 11.89 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.007205, allocations: 13.28 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.007207, allocations: 0 / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.00721, allocations: 0.8438 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.007213, allocations: 0 / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.83e-05/0.007311, allocations: 132.6 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.007312, allocations: 2.219 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.515e-05/0.007327, allocations: 4 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.00733, allocations: 3.938 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.007338, allocations: 3.984 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.007339, allocations: 0 / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.00734, allocations: 3.938 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.007441, allocations: 198.7 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.007452, allocations: 3.938 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.007471, allocations: 8 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.00751, allocations: 11.98 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.007552, allocations: 4.359 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.007556, allocations: 4 kB / 0.8163 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001881/0.007744, allocations: 141.2 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.007744, allocations: 1.469 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001482/0.007892, allocations: 19.89 kB / 0.8165 GB, free: 12.41 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 0.0001036/0.007996, allocations: 103.7 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.803e-05/0.008084, allocations: 20.19 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008086, allocations: 0 / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.235e-05/0.008108, allocations: 25.05 kB / 0.8166 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.008294, allocations: 4 kB / 0.8166 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.008766, allocations: 175.1 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.814e-05/0.008804, allocations: 67.94 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.884e-05/0.008833, allocations: 8.234 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.008866, allocations: 12.5 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.008866, allocations: 3.938 kB / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of Templates: time 0.00285/0.01172, allocations: 0.9754 MB / 0.8178 GB, free: 10.99 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.258143507409841]