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.001205/0.001205, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001251/0.001251, allocations: 173 kB / 23.49 MB, free: 1.055 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.038/1.038, allocations: 177.1 MB / 203.8 MB, free: 5.617 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 2.201/2.201, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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 3.446e-06/3.446e-06, allocations: 0 / 0.8782 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.372e-05, allocations: 3.562 kB / 0.8782 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001866/0.0019, allocations: 0.8562 MB / 0.8791 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.003, allocations: 0.9335 MB / 0.88 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.761e-05/0.003068, allocations: 1.125 kB / 0.88 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.207e-05/0.00311, allocations: 15.8 kB / 0.88 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.003224, allocations: 20.83 kB / 0.88 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.00349, allocations: 47.81 kB / 0.8801 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.00363, allocations: 117.2 kB / 0.8802 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.00375, allocations: 21.28 kB / 0.8802 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.003968, allocations: 67.88 kB / 0.8803 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.00407, allocations: 49.47 kB / 0.8803 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.004113, allocations: 8 kB / 0.8803 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.322e-05/0.004186, allocations: 12 kB / 0.8803 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.004217, allocations: 23.91 kB / 0.8804 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.00427, allocations: 39.84 kB / 0.8804 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.004481, allocations: 94.61 kB / 0.8805 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.004486, allocations: 0 / 0.8805 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.342e-06/0.004487, allocations: 0 / 0.8805 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.004492, allocations: 4 kB / 0.8805 GB, free: 4.289 MB / 0.8386 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.0005338/0.005026, allocations: 452 kB / 0.8809 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.005086, allocations: 12.03 kB / 0.8809 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.005336, allocations: 41.48 kB / 0.881 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.005641, allocations: 184 kB / 0.8811 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.005668, allocations: 8.375 kB / 0.8812 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.005684, allocations: 9.719 kB / 0.8812 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.005903, allocations: 125.5 kB / 0.8813 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.005913, allocations: 192 / 0.8813 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.005928, allocations: 4.375 kB / 0.8813 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.00594, allocations: 8.125 kB / 0.8813 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.823e-05/0.006008, allocations: 23.92 kB / 0.8813 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.006577, allocations: 0.5678 MB / 0.8819 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.006718, allocations: 109.2 kB / 0.882 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.814e-05/0.006766, allocations: 39.06 kB / 0.882 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.00679, allocations: 4 kB / 0.882 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.006818, allocations: 41.39 kB / 0.8821 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.00682, allocations: 7.938 kB / 0.8821 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002758/0.007095, allocations: 93.48 kB / 0.8822 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.007145, allocations: 102.8 kB / 0.8823 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.007257, allocations: 203.9 kB / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.007277, allocations: 29.7 kB / 0.8825 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.171e-05/0.007348, allocations: 155 kB / 0.8826 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.007383, allocations: 27.78 kB / 0.8827 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.007428, allocations: 31.38 kB / 0.8827 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.007558, allocations: 0.4925 MB / 0.8832 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.321e-05/0.007602, allocations: 19.98 kB / 0.8832 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.289e-05/0.007695, allocations: 155.1 kB / 0.8833 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.487e-05/0.007769, allocations: 51.06 kB / 0.8834 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.007773, allocations: 0 / 0.8834 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001319/0.007905, allocations: 101.7 kB / 0.8835 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.007922, allocations: 4 kB / 0.8835 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.007932, allocations: 3.984 kB / 0.8835 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.00795, allocations: 0 / 0.8835 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.008039, allocations: 19.94 kB / 0.8835 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.008048, allocations: 7.984 kB / 0.8835 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/0.008097, allocations: 8 kB / 0.8835 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.008107, allocations: 4 kB / 0.8835 GB, free: 0.8594 MB / 0.8386 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.971e-05/0.008196, allocations: 160.6 kB / 0.8837 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.008244, allocations: 19.88 kB / 0.8837 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.008376, allocations: 61.97 kB / 0.8838 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.008381, allocations: 7.984 kB / 0.8838 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.008386, allocations: 0 / 0.8838 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.00839, allocations: 0 / 0.8838 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.008586, allocations: 148.5 kB / 0.8839 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.00859, allocations: 8 kB / 0.8839 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.008631, allocations: 11.98 kB / 0.8839 GB, free: 400 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.008636, allocations: 11.88 kB / 0.8839 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.008646, allocations: 4 kB / 0.8839 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.008648, allocations: 0 / 0.8839 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.00865, allocations: 4 kB / 0.8839 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.008911, allocations: 462.2 kB / 0.8844 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.557e-05/0.008926, allocations: 15.84 kB / 0.8844 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.008952, allocations: 11.98 kB / 0.8844 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.9e-05/0.009041, allocations: 8 kB / 0.8844 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.009113, allocations: 23.95 kB / 0.8844 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.009123, allocations: 16.05 kB / 0.8845 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.015e-05/0.009183, allocations: 145.4 kB / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009183, allocations: 0 / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002259/0.009409, allocations: 16 kB / 0.8846 GB, free: 15.67 MB / 0.8542 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.0001517/0.009561, allocations: 103.2 kB / 0.8847 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.00974, allocations: 59.59 kB / 0.8848 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.009742, allocations: 4 kB / 0.8848 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.237e-05/0.009794, allocations: 23.69 kB / 0.8848 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.01013, allocations: 23.92 kB / 0.8848 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.01057, allocations: 210.1 kB / 0.885 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.189e-05/0.01062, allocations: 63.34 kB / 0.8851 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.987e-05/0.01068, allocations: 17.19 kB / 0.8851 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.01073, allocations: 20.5 kB / 0.8851 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of SimCode: time 2.094e-06/0.01073, allocations: 0 / 0.8851 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.0039/0.01463, allocations: 1.435 MB / 0.8865 GB, free: 13.67 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] 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","",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.8232870569918305]