Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001128/0.001128, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.00131/0.00131, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8937/0.8937, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.748/1.748, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] 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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9823 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.167e-05, allocations: 4.953 kB / 0.9823 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001283/0.001305, allocations: 0.8272 MB / 0.9831 GB, free: 1.184 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008849/0.00219, allocations: 0.9132 MB / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.002237, allocations: 4 kB / 0.984 GB, free: 260 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.002272, allocations: 11.86 kB / 0.984 GB, free: 248 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.25e-05/0.002354, allocations: 15.75 kB / 0.984 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.002568, allocations: 39.94 kB / 0.984 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.002679, allocations: 119.6 kB / 0.9841 GB, free: 72 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.002783, allocations: 25.28 kB / 0.9842 GB, free: 48 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.002972, allocations: 75.75 kB / 0.9842 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.003041, allocations: 51.81 kB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.003062, allocations: 8 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.142e-05/0.003104, allocations: 15.98 kB / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.003123, allocations: 19.92 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.003155, allocations: 31.91 kB / 0.9844 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.003314, allocations: 127.6 kB / 0.9845 GB, free: 15.72 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.003317, allocations: 7.984 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003318, allocations: 4 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.003322, allocations: 0 / 0.9845 GB, free: 15.71 MB / 0.948 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.0004779/0.003799, allocations: 365.7 kB / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.003833, allocations: 8.031 kB / 0.9849 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.003999, allocations: 36.81 kB / 0.9849 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.004369, allocations: 191.9 kB / 0.9851 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.00439, allocations: 4.375 kB / 0.9851 GB, free: 15.06 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.004405, allocations: 8.375 kB / 0.9851 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.004583, allocations: 127.3 kB / 0.9852 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.004592, allocations: 192 / 0.9852 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.004602, allocations: 384 / 0.9852 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.004609, allocations: 8.125 kB / 0.9852 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.00476, allocations: 83.84 kB / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.005152, allocations: 436.7 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.005298, allocations: 107.8 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.083e-05/0.005379, allocations: 58.55 kB / 0.9859 GB, free: 14.16 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.0054, allocations: 4 kB / 0.9859 GB, free: 14.16 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.00542, allocations: 42.5 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.005421, allocations: 0 / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0003484/0.005769, allocations: 165.6 kB / 0.9861 GB, free: 13.94 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.005811, allocations: 106.8 kB / 0.9862 GB, free: 13.81 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.083e-05/0.005902, allocations: 149 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.005918, allocations: 29.7 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.005967, allocations: 108.3 kB / 0.9864 GB, free: 13.51 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.005993, allocations: 23.8 kB / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.00603, allocations: 25.7 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.338e-05/0.006103, allocations: 322.8 kB / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.08e-05/0.006184, allocations: 39.97 kB / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.0063, allocations: 162.2 kB / 0.987 GB, free: 12.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.006446, allocations: 94.45 kB / 0.9871 GB, free: 12.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.006449, allocations: 0 / 0.9871 GB, free: 12.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001903/0.006639, allocations: 145.4 kB / 0.9872 GB, free: 12.65 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.006653, allocations: 10.97 kB / 0.9872 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.006658, allocations: 0 / 0.9872 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.00667, allocations: 0 / 0.9872 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.4e-05/0.006744, allocations: 19.92 kB / 0.9873 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.006749, allocations: 4 kB / 0.9873 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.006818, allocations: 23.91 kB / 0.9873 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.006826, allocations: 4 kB / 0.9873 GB, free: 12.59 MB / 0.948 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 6.912e-05/0.006895, allocations: 125.8 kB / 0.9874 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.00693, allocations: 15.84 kB / 0.9874 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.007075, allocations: 94.19 kB / 0.9875 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.007079, allocations: 4.031 kB / 0.9875 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.007083, allocations: 0 / 0.9875 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.007087, allocations: 4 kB / 0.9875 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.007252, allocations: 137.3 kB / 0.9876 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007253, allocations: 0 / 0.9876 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/0.0073, allocations: 23.98 kB / 0.9877 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.007303, allocations: 3.938 kB / 0.9877 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.007311, allocations: 4 kB / 0.9877 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.007315, allocations: 4 kB / 0.9877 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007316, allocations: 64 / 0.9877 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.007547, allocations: 369.9 kB / 0.988 GB, free: 11.76 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.007558, allocations: 15.84 kB / 0.988 GB, free: 11.74 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.007575, allocations: 4 kB / 0.9881 GB, free: 11.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.007678, allocations: 15.98 kB / 0.9881 GB, free: 11.72 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.007733, allocations: 27.94 kB / 0.9881 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.007742, allocations: 4 kB / 0.9881 GB, free: 11.69 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.007791, allocations: 111.2 kB / 0.9882 GB, free: 11.58 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.007791, allocations: 7.938 kB / 0.9882 GB, free: 11.57 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002054/0.007997, allocations: 12 kB / 0.9882 GB, free: 11.56 MB / 0.948 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 7.725e-05/0.008074, allocations: 99.25 kB / 0.9883 GB, free: 11.45 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.008281, allocations: 99.86 kB / 0.9884 GB, free: 11.36 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008282, allocations: 0 / 0.9884 GB, free: 11.36 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.559e-05/0.008368, allocations: 47.91 kB / 0.9885 GB, free: 11.31 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.008657, allocations: 19.92 kB / 0.9885 GB, free: 11.29 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.008979, allocations: 237.1 kB / 0.9887 GB, free: 11.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.249e-05/0.009042, allocations: 88.31 kB / 0.9888 GB, free: 10.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.009087, allocations: 20.48 kB / 0.9888 GB, free: 10.89 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/0.009087, allocations: 0 / 0.9888 GB, free: 10.89 MB / 0.948 GB Notification: Performance of Templates: time 0.00214/0.01123, allocations: 1.546 MB / 0.9903 GB, free: 9.34 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.708495134487748]