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.001973/0.001973, allocations: 76.42 kB / 20.23 MB, free: 4.305 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.00254/0.00254, allocations: 165.3 kB / 23.54 MB, free: 0.9922 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.561/1.561, allocations: 177.2 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 2.832/2.832, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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 1.933e-06/1.933e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.219e-05, allocations: 11.91 kB / 0.7865 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002098/0.00213, allocations: 0.8259 MB / 0.7873 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.00352, allocations: 0.9226 MB / 0.7882 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.003571, allocations: 0 / 0.7882 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.02e-05/0.003611, allocations: 13.03 kB / 0.7882 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.003715, allocations: 16.44 kB / 0.7882 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.00396, allocations: 47.86 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000168/0.004128, allocations: 116.9 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.004236, allocations: 17.3 kB / 0.7884 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.004463, allocations: 79.8 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.92e-05/0.004552, allocations: 44.66 kB / 0.7885 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.004581, allocations: 12 kB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.222e-05/0.004634, allocations: 12.56 kB / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.004662, allocations: 20.61 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.905e-05/0.004721, allocations: 39.89 kB / 0.7886 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.004945, allocations: 132.4 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004947, allocations: 0 / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004947, allocations: 0.6562 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.004952, allocations: 0 / 0.7887 GB, free: 10.48 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.0007464/0.005699, allocations: 367.4 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.005734, allocations: 9.625 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/0.006038, allocations: 36.83 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/0.006565, allocations: 201 kB / 0.7893 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.00659, allocations: 4.375 kB / 0.7893 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.006612, allocations: 12.38 kB / 0.7893 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.006933, allocations: 112.7 kB / 0.7894 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.006942, allocations: 192 / 0.7894 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.006955, allocations: 384 / 0.7894 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.006964, allocations: 8.844 kB / 0.7894 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.007304, allocations: 77.77 kB / 0.7895 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006723/0.007976, allocations: 438.7 kB / 0.7899 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.008279, allocations: 108.4 kB / 0.79 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.008454, allocations: 55.27 kB / 0.7901 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.008479, allocations: 1.094 kB / 0.7901 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.008517, allocations: 38.55 kB / 0.7901 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.008519, allocations: 0.8438 kB / 0.7901 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0006704/0.009189, allocations: 163.3 kB / 0.7903 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.009271, allocations: 107.8 kB / 0.7904 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.009443, allocations: 154.3 kB / 0.7905 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.009479, allocations: 26.61 kB / 0.7905 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.146e-05/0.00957, allocations: 112.3 kB / 0.7906 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.924e-05/0.00963, allocations: 23.84 kB / 0.7907 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.009687, allocations: 22.88 kB / 0.7907 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.00987, allocations: 326.8 kB / 0.791 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.01004, allocations: 41.39 kB / 0.791 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.01038, allocations: 158.2 kB / 0.7912 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.0107, allocations: 100.3 kB / 0.7913 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.0107, allocations: 0.8438 kB / 0.7913 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004085/0.01111, allocations: 147.1 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.01113, allocations: 5.094 kB / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01113, allocations: 0 / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.01116, allocations: 4.938 kB / 0.7914 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.01131, allocations: 29.19 kB / 0.7915 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.01131, allocations: 0 / 0.7915 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.01145, allocations: 24.77 kB / 0.7915 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.01146, allocations: 4 kB / 0.7915 GB, free: 7.375 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 0.0001297/0.01159, allocations: 120.1 kB / 0.7916 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.467e-05/0.01166, allocations: 19.84 kB / 0.7916 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.01195, allocations: 93.92 kB / 0.7917 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-06/0.01196, allocations: 0 / 0.7917 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.01196, allocations: 7.172 kB / 0.7917 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.01197, allocations: 4 kB / 0.7917 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.01226, allocations: 133.4 kB / 0.7918 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01226, allocations: 0 / 0.7918 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.01238, allocations: 15.98 kB / 0.7919 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.01238, allocations: 7.938 kB / 0.7919 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.0124, allocations: 7.984 kB / 0.7919 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.0124, allocations: 0 / 0.7919 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.0124, allocations: 5.188 kB / 0.7919 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005467/0.01295, allocations: 367.5 kB / 0.7922 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.01297, allocations: 15.89 kB / 0.7922 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.013, allocations: 0 / 0.7922 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.01322, allocations: 16.91 kB / 0.7923 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.021e-05/0.01331, allocations: 24.45 kB / 0.7923 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.01332, allocations: 4 kB / 0.7923 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001105/0.01343, allocations: 115.9 kB / 0.7924 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01343, allocations: 1.281 kB / 0.7924 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003334/0.01376, allocations: 15.94 kB / 0.7924 GB, free: 6.363 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.0001487/0.01391, allocations: 112 kB / 0.7925 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003893/0.0143, allocations: 93.03 kB / 0.7926 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.0143, allocations: 0 / 0.7926 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.01451, allocations: 54.2 kB / 0.7927 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.01501, allocations: 17.47 kB / 0.7927 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.01553, allocations: 218.7 kB / 0.7929 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.01563, allocations: 87.88 kB / 0.793 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.535e-05/0.01572, allocations: 20.14 kB / 0.793 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.01578, allocations: 16.5 kB / 0.793 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.01578, allocations: 0 / 0.793 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of Templates: time 0.004743/0.02052, allocations: 1.428 MB / 0.7944 GB, free: 4.312 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.961194735020399]