Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007914/0.0007914, allocations: 80.53 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.0007832/0.0007832, allocations: 173.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.8404/0.8404, allocations: 177.1 MB / 203.5 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.787/1.787, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 1.001 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.408e-05, allocations: 2.281 kB / 1.001 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001324/0.001348, allocations: 0.8156 MB / 1.002 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008906/0.002239, allocations: 0.9179 MB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.002287, allocations: 3.938 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/0.002323, allocations: 11.81 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.607e-05/0.002409, allocations: 19.8 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.002628, allocations: 43.88 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.002737, allocations: 115.6 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.002842, allocations: 17.28 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.003019, allocations: 83.73 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.553e-05/0.003084, allocations: 39.89 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.003104, allocations: 8 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.379e-05/0.003148, allocations: 15.98 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.003167, allocations: 23.92 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.003201, allocations: 43.89 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.00337, allocations: 131.5 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003372, allocations: 4 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003373, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.003377, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 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.0004765/0.003854, allocations: 361.8 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.003891, allocations: 12.75 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.004043, allocations: 36.77 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.004329, allocations: 187.5 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.004351, allocations: 8.375 kB / 1.004 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.004366, allocations: 8.375 kB / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.004549, allocations: 115.3 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.004562, allocations: 192 / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.004578, allocations: 8.375 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.004585, allocations: 8.125 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.004739, allocations: 79.86 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.005133, allocations: 432.8 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.005286, allocations: 111.8 kB / 1.005 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.534e-05/0.005371, allocations: 58.48 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.005394, allocations: 4 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.005416, allocations: 38.55 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.005418, allocations: 0 / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0003487/0.005766, allocations: 157.6 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.005814, allocations: 110.8 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.483e-05/0.005899, allocations: 148.5 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.005916, allocations: 33.7 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.005969, allocations: 100.4 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.005999, allocations: 31.73 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.006036, allocations: 25.72 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.006118, allocations: 322.8 kB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-05/0.006202, allocations: 48.02 kB / 1.006 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.006323, allocations: 162.2 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.006466, allocations: 90.69 kB / 1.006 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006468, allocations: 0 / 1.006 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001941/0.006662, allocations: 145.4 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.006674, allocations: 8 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.006679, allocations: 3.938 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.006692, allocations: 0 / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.00677, allocations: 23.97 kB / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.006774, allocations: 0 / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.925e-05/0.006834, allocations: 19.94 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.006843, allocations: 4 kB / 1.006 GB, free: 7.492 MB / 0.9636 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 7.089e-05/0.006914, allocations: 125.8 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.006951, allocations: 15.88 kB / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.007095, allocations: 89.94 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.007104, allocations: 3.984 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.007109, allocations: 4 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.007112, allocations: 0 / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.007281, allocations: 133.4 kB / 1.006 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.007284, allocations: 4 kB / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.00733, allocations: 23.92 kB / 1.006 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.007333, allocations: 3.938 kB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.007344, allocations: 12.05 kB / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.007345, allocations: 0 / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.007346, allocations: 0 / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.007584, allocations: 369.9 kB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.007595, allocations: 15.89 kB / 1.007 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.007613, allocations: 7.984 kB / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.007717, allocations: 11.98 kB / 1.007 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.007775, allocations: 27.89 kB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.00778, allocations: 4 kB / 1.007 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.967e-05/0.00783, allocations: 111.2 kB / 1.007 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00783, allocations: 0 / 1.007 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002061/0.008036, allocations: 16 kB / 1.007 GB, free: 6.465 MB / 0.9636 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 8.942e-05/0.008125, allocations: 103.2 kB / 1.007 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.008338, allocations: 91.86 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.00834, allocations: 0 / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.374e-05/0.008423, allocations: 51.89 kB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.008722, allocations: 16.06 kB / 1.007 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.00911, allocations: 237.1 kB / 1.007 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.56e-05/0.009196, allocations: 88.31 kB / 1.007 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.415e-05/0.00925, allocations: 28.38 kB / 1.008 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of SimCode: time 1.072e-06/0.009251, allocations: 0 / 1.008 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of Templates: time 0.002578/0.01183, allocations: 1.56 MB / 1.009 GB, free: 4.234 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.332877356559038]