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.001195/0.001195, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001057/0.001057, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.9162/0.9162, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.758/1.758, allocations: 359 MB / 0.6055 GB, free: 10.87 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.154e-06/2.154e-06, allocations: 0 / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.803e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001677/0.001705, allocations: 0.8333 MB / 0.7885 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.002722, allocations: 0.9456 MB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.002786, allocations: 4.594 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/0.002821, allocations: 7.875 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.836e-05/0.002919, allocations: 25.33 kB / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.003138, allocations: 43.88 kB / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.003255, allocations: 117.1 kB / 0.7896 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.982e-05/0.003355, allocations: 21.23 kB / 0.7896 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.003554, allocations: 87.73 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.529e-05/0.003619, allocations: 40.86 kB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.003638, allocations: 4 kB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.479e-05/0.003683, allocations: 8 kB / 0.7897 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.003699, allocations: 16.67 kB / 0.7897 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.003725, allocations: 27.91 kB / 0.7898 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.003848, allocations: 70.17 kB / 0.7898 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.003851, allocations: 3.938 kB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003852, allocations: 0 / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.003856, allocations: 4 kB / 0.7898 GB, free: 9.879 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.0003835/0.00424, allocations: 428.1 kB / 0.7902 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.004282, allocations: 9.75 kB / 0.7903 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.004416, allocations: 28.78 kB / 0.7903 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.00456, allocations: 163.5 kB / 0.7904 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.004575, allocations: 4.375 kB / 0.7904 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.004586, allocations: 8.375 kB / 0.7904 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.00473, allocations: 106.4 kB / 0.7905 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.004737, allocations: 0.9062 kB / 0.7906 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.004745, allocations: 384 / 0.7906 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.455e-06/0.004752, allocations: 8.891 kB / 0.7906 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.613e-05/0.004788, allocations: 21.58 kB / 0.7906 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.00515, allocations: 0.5294 MB / 0.7911 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.005268, allocations: 109.7 kB / 0.7912 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.939e-05/0.005297, allocations: 35.75 kB / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.005318, allocations: 0.7812 kB / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.005341, allocations: 50.42 kB / 0.7913 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.005342, allocations: 3.938 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001829/0.005525, allocations: 86.89 kB / 0.7914 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.005562, allocations: 102.8 kB / 0.7915 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.331e-05/0.005655, allocations: 203.7 kB / 0.7917 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.005673, allocations: 29.7 kB / 0.7917 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.005734, allocations: 154.8 kB / 0.7918 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.005766, allocations: 31.77 kB / 0.7919 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.005804, allocations: 27.38 kB / 0.7919 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.005934, allocations: 0.4936 MB / 0.7924 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/0.005963, allocations: 11.98 kB / 0.7924 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.605e-05/0.005999, allocations: 39.05 kB / 0.7924 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.986e-05/0.006059, allocations: 52.38 kB / 0.7925 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.006061, allocations: 3.938 kB / 0.7925 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.922e-05/0.00616, allocations: 95.42 kB / 0.7926 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.006179, allocations: 7.938 kB / 0.7926 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.006185, allocations: 0 / 0.7926 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.006197, allocations: 4 kB / 0.7926 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.492e-05/0.006262, allocations: 11.98 kB / 0.7926 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.006265, allocations: 2.438 kB / 0.7926 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.535e-05/0.0063, allocations: 8 kB / 0.7926 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.006306, allocations: 0 / 0.7926 GB, free: 6.77 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 7.897e-05/0.006384, allocations: 168.5 kB / 0.7928 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.006424, allocations: 19.84 kB / 0.7928 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.851e-05/0.006523, allocations: 62.55 kB / 0.7928 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.006529, allocations: 5.938 kB / 0.7928 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.006531, allocations: 0 / 0.7928 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.006534, allocations: 0 / 0.7928 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.006703, allocations: 117.2 kB / 0.793 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006705, allocations: 0 / 0.793 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.006738, allocations: 15.92 kB / 0.793 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.00674, allocations: 2.562 kB / 0.793 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.006747, allocations: 4 kB / 0.793 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.006749, allocations: 7.875 kB / 0.793 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.006751, allocations: 0 / 0.793 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.00696, allocations: 466.2 kB / 0.7934 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.006972, allocations: 12.8 kB / 0.7934 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.006991, allocations: 4 kB / 0.7935 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-05/0.007071, allocations: 12.7 kB / 0.7935 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.007131, allocations: 23.95 kB / 0.7935 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.007137, allocations: 4 kB / 0.7935 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.451e-05/0.007192, allocations: 154.5 kB / 0.7936 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007192, allocations: 0 / 0.7936 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002064/0.007398, allocations: 16 kB / 0.7937 GB, free: 5.637 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.0001017/0.0075, allocations: 96.88 kB / 0.7937 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.845e-05/0.007598, allocations: 58.73 kB / 0.7938 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.007601, allocations: 4 kB / 0.7938 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.7e-05/0.007638, allocations: 27.61 kB / 0.7938 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.007911, allocations: 16.19 kB / 0.7938 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.008209, allocations: 209.9 kB / 0.794 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.008253, allocations: 65.12 kB / 0.7941 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.029e-05/0.008303, allocations: 17.59 kB / 0.7941 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.908e-05/0.008372, allocations: 86.2 kB / 0.7942 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.008373, allocations: 0 / 0.7942 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of Templates: time 0.003054/0.01143, allocations: 1.282 MB / 0.7955 GB, free: 3.73 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: 4.821639458183199]