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.001155/0.001155, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001324/0.001324, allocations: 161 kB / 24.17 MB, free: 332 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 1.014/1.014, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.966/1.966, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.733e-06/1.733e-06, allocations: 0 / 0.7601 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.562e-05, allocations: 3.078 kB / 0.7601 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001433/0.001448, allocations: 0.8927 MB / 0.761 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009247/0.002373, allocations: 0.9483 MB / 0.7619 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.002423, allocations: 0 / 0.7619 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.002454, allocations: 9.656 kB / 0.7619 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.186e-05/0.002546, allocations: 31 kB / 0.762 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.002714, allocations: 40.42 kB / 0.762 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.002829, allocations: 125.8 kB / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.884e-05/0.002917, allocations: 10.66 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.003105, allocations: 97.78 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.807e-05/0.003173, allocations: 27.91 kB / 0.7623 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.00319, allocations: 4 kB / 0.7623 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.023e-05/0.00324, allocations: 11.98 kB / 0.7623 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.003258, allocations: 19.92 kB / 0.7623 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.003279, allocations: 20.67 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.003405, allocations: 79.61 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003407, allocations: 4.688 kB / 0.7624 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003408, allocations: 0 / 0.7624 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.003411, allocations: 0.6875 kB / 0.7624 GB, free: 4.238 MB / 0.7136 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.0003071/0.003718, allocations: 306.6 kB / 0.7627 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.003747, allocations: 8.031 kB / 0.7627 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.003871, allocations: 24.92 kB / 0.7627 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.004022, allocations: 163 kB / 0.7629 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.004036, allocations: 4.312 kB / 0.7629 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.004046, allocations: 8.375 kB / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.004172, allocations: 104.9 kB / 0.763 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.00418, allocations: 192 / 0.763 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.004188, allocations: 4.375 kB / 0.763 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.004196, allocations: 5.625 kB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.601e-05/0.004232, allocations: 23.86 kB / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.00451, allocations: 353.6 kB / 0.7634 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.933e-05/0.004589, allocations: 67.78 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.004616, allocations: 35.55 kB / 0.7635 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.00463, allocations: 2.75 kB / 0.7635 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.004652, allocations: 38.55 kB / 0.7635 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.004653, allocations: 0 / 0.7635 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001725/0.004826, allocations: 73.55 kB / 0.7636 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.004867, allocations: 110.8 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.62e-05/0.004943, allocations: 146.8 kB / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.004961, allocations: 33.7 kB / 0.7638 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.004994, allocations: 92.11 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.005021, allocations: 23.8 kB / 0.764 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.005052, allocations: 29.69 kB / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.765e-05/0.00513, allocations: 322.8 kB / 0.7643 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.005148, allocations: 8 kB / 0.7643 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.00518, allocations: 39.39 kB / 0.7643 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.424e-05/0.005244, allocations: 46.48 kB / 0.7644 GB, free: 2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005246, allocations: 0.9375 kB / 0.7644 GB, free: 2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.038e-05/0.005327, allocations: 70.83 kB / 0.7644 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.00534, allocations: 11.94 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.005344, allocations: 0 / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.005357, allocations: 0.5 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.817e-05/0.005415, allocations: 15.42 kB / 0.7645 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.00542, allocations: 4 kB / 0.7645 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.299e-05/0.005453, allocations: 11.94 kB / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.005459, allocations: 4 kB / 0.7645 GB, free: 1.883 MB / 0.7136 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.238e-05/0.005522, allocations: 125.7 kB / 0.7646 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.005561, allocations: 7.984 kB / 0.7646 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.342e-05/0.005634, allocations: 61.95 kB / 0.7647 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.005637, allocations: 6.906 kB / 0.7647 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.005639, allocations: 0 / 0.7647 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.005642, allocations: 0 / 0.7647 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.005789, allocations: 81.88 kB / 0.7648 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.00579, allocations: 0 / 0.7648 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.005823, allocations: 19.92 kB / 0.7648 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.005824, allocations: 0 / 0.7648 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.005832, allocations: 4 kB / 0.7648 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.005833, allocations: 1.594 kB / 0.7648 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.005836, allocations: 7.938 kB / 0.7648 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.006249, allocations: 306 kB / 0.7651 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.00626, allocations: 11.91 kB / 0.7651 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.006279, allocations: 14.64 kB / 0.7651 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.006357, allocations: 0 / 0.7651 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.006414, allocations: 27.89 kB / 0.7651 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.006419, allocations: 4 kB / 0.7651 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.701e-05/0.006446, allocations: 35.25 kB / 0.7652 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006446, allocations: 4 kB / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001734/0.00662, allocations: 12 kB / 0.7652 GB, free: 1.121 MB / 0.7136 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.446e-05/0.006694, allocations: 88.27 kB / 0.7653 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.76e-05/0.006782, allocations: 40.78 kB / 0.7653 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.006785, allocations: 7.938 kB / 0.7653 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.232e-05/0.006817, allocations: 28.77 kB / 0.7653 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.007054, allocations: 15.98 kB / 0.7654 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.007336, allocations: 201.9 kB / 0.7656 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.676e-05/0.007383, allocations: 63.34 kB / 0.7656 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.994e-05/0.007433, allocations: 16.14 kB / 0.7656 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/0.007499, allocations: 71.36 kB / 0.7657 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of SimCode: time 9.81e-07/0.0075, allocations: 0.8438 kB / 0.7657 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of Templates: time 0.002921/0.01042, allocations: 1.217 MB / 0.7669 GB, free: 15.38 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] 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","",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.025042386259884]