Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.001094/0.001094, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001026/0.001026, allocations: 169 kB / 23.82 MB, free: 0.7461 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.9541/0.9541, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.695/1.695, allocations: 359 MB / 0.6052 GB, free: 11.01 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.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.177e-05, allocations: 5.125 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.004901/0.004933, allocations: 0.854 MB / 0.788 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.0061, allocations: 0.9374 MB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.006158, allocations: 0.5938 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.006198, allocations: 14.06 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.006299, allocations: 27.72 kB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.006531, allocations: 43.83 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.006664, allocations: 115.6 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.953e-05/0.006764, allocations: 18.36 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00926/0.01602, allocations: 87.73 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.586e-05/0.01612, allocations: 32.83 kB / 0.7893 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.01615, allocations: 8 kB / 0.7893 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.843e-05/0.01619, allocations: 8 kB / 0.7893 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.01621, allocations: 20.69 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.01625, allocations: 27.92 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.01641, allocations: 74.08 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.01642, allocations: 0 / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.693e-06/0.01642, allocations: 0 / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.01642, allocations: 0 / 0.7894 GB, free: 10.16 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004048/0.01683, allocations: 432 kB / 0.7898 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.01687, allocations: 12.03 kB / 0.7898 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.01704, allocations: 26.59 kB / 0.7898 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.01722, allocations: 158.4 kB / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.01724, allocations: 8.375 kB / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.01726, allocations: 4.375 kB / 0.79 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.01744, allocations: 110.5 kB / 0.7901 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.01745, allocations: 1.438 kB / 0.7901 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.01746, allocations: 384 / 0.7901 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.01747, allocations: 8.359 kB / 0.7901 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.018e-05/0.01753, allocations: 29.61 kB / 0.7901 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.01796, allocations: 0.5522 MB / 0.7907 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.01809, allocations: 110.5 kB / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/0.01813, allocations: 39.06 kB / 0.7908 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.01815, allocations: 7.938 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.01818, allocations: 39.31 kB / 0.7909 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.01818, allocations: 0 / 0.7909 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002536/0.01843, allocations: 92.11 kB / 0.791 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.01848, allocations: 110.8 kB / 0.7911 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.01859, allocations: 204.1 kB / 0.7913 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.01861, allocations: 29.7 kB / 0.7913 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.01867, allocations: 150.9 kB / 0.7914 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.0187, allocations: 35.8 kB / 0.7915 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.01875, allocations: 27.38 kB / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.009154/0.0279, allocations: 0.4928 MB / 0.792 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.467e-05/0.02797, allocations: 20.64 kB / 0.792 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.566e-05/0.02802, allocations: 43.23 kB / 0.792 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.551e-05/0.02811, allocations: 59.52 kB / 0.7921 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.02811, allocations: 1.656 kB / 0.7921 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001581/0.02827, allocations: 93.5 kB / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.02828, allocations: 5.562 kB / 0.7922 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.02829, allocations: 0.5 kB / 0.7922 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.0283, allocations: 4 kB / 0.7922 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.665e-05/0.02839, allocations: 16.58 kB / 0.7922 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.0284, allocations: 0.7812 kB / 0.7922 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.976e-05/0.02845, allocations: 7.953 kB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.02845, allocations: 1.156 kB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.961e-05/0.02854, allocations: 164.5 kB / 0.7924 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.02861, allocations: 21.25 kB / 0.7924 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.02874, allocations: 62.03 kB / 0.7924 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.02875, allocations: 3.984 kB / 0.7925 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.02875, allocations: 0.9062 kB / 0.7925 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.02876, allocations: 4 kB / 0.7925 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.029, allocations: 144.5 kB / 0.7926 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.029, allocations: 0.7812 kB / 0.7926 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.844e-05/0.02905, allocations: 11.94 kB / 0.7926 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.02906, allocations: 5.219 kB / 0.7926 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.02907, allocations: 3.984 kB / 0.7926 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.02907, allocations: 4 kB / 0.7926 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.02907, allocations: 0.8438 kB / 0.7926 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.02931, allocations: 475.4 kB / 0.7931 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.02933, allocations: 7.953 kB / 0.7931 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.02935, allocations: 3.938 kB / 0.7931 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.02948, allocations: 9.312 kB / 0.7931 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.02956, allocations: 27.89 kB / 0.7931 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.02956, allocations: 7.922 kB / 0.7931 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.688e-05/0.02963, allocations: 150.4 kB / 0.7933 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.02963, allocations: 1.719 kB / 0.7933 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003046/0.02993, allocations: 12 kB / 0.7933 GB, free: 5.82 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001132/0.03005, allocations: 111.3 kB / 0.7934 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.03019, allocations: 54.45 kB / 0.7934 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.03019, allocations: 0 / 0.7934 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.963e-05/0.03024, allocations: 31.72 kB / 0.7935 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009412/0.03965, allocations: 15.98 kB / 0.7935 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.04009, allocations: 215.1 kB / 0.7937 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.03e-05/0.04016, allocations: 68.52 kB / 0.7938 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.438e-05/0.04023, allocations: 18.17 kB / 0.7938 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.04029, allocations: 20.48 kB / 0.7938 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of SimCode: time 1.333e-06/0.04029, allocations: 0 / 0.7938 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of Templates: time 0.01261/0.0529, allocations: 1.228 MB / 0.795 GB, free: 4.023 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.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.148705394007266]