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.0009335/0.0009335, allocations: 89.06 kB / 19.64 MB, free: 276 kB / 13.93 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.001003/0.001003, allocations: 169 kB / 23.02 MB, free: 1.543 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.046/1.046, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.123/2.123, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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 2.144e-06/2.144e-06, allocations: 0 / 0.8782 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.804e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002156/0.002184, allocations: 0.8649 MB / 0.8791 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.003517, allocations: 0.9404 MB / 0.88 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.003576, allocations: 0 / 0.88 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.523e-05/0.003622, allocations: 11.86 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.003739, allocations: 21.44 kB / 0.88 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.004017, allocations: 39.88 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.00418, allocations: 123.6 kB / 0.8802 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.004303, allocations: 14.27 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.004539, allocations: 75.81 kB / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.476e-05/0.004634, allocations: 48.95 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.004663, allocations: 8 kB / 0.8803 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.768e-05/0.004721, allocations: 16 kB / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.004747, allocations: 21.05 kB / 0.8804 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.004794, allocations: 35.91 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.004982, allocations: 91.58 kB / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004985, allocations: 1.094 kB / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004985, allocations: 0 / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.00499, allocations: 0 / 0.8805 GB, free: 3.949 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.0006049/0.005595, allocations: 465.4 kB / 0.8809 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.005639, allocations: 8.031 kB / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.005891, allocations: 38.61 kB / 0.881 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.006224, allocations: 182.2 kB / 0.8811 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.006249, allocations: 5.719 kB / 0.8812 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.006269, allocations: 8.375 kB / 0.8812 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.006517, allocations: 127 kB / 0.8813 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.00653, allocations: 4.172 kB / 0.8813 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.006545, allocations: 384 / 0.8813 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.006558, allocations: 4.781 kB / 0.8813 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.654e-05/0.006645, allocations: 27.92 kB / 0.8813 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.007223, allocations: 0.5655 MB / 0.8819 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.007401, allocations: 109.2 kB / 0.882 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.083e-05/0.007462, allocations: 41.59 kB / 0.882 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.007493, allocations: 7.938 kB / 0.882 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.007523, allocations: 37.39 kB / 0.8821 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.854e-06/0.007525, allocations: 0 / 0.8821 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.000318/0.007843, allocations: 95.55 kB / 0.8821 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.0079, allocations: 110.7 kB / 0.8823 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.008046, allocations: 204.1 kB / 0.8824 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.008073, allocations: 29.7 kB / 0.8825 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.008155, allocations: 155 kB / 0.8826 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.00819, allocations: 23.8 kB / 0.8826 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.008253, allocations: 36.08 kB / 0.8827 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.00842, allocations: 0.4884 MB / 0.8832 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.008469, allocations: 17.64 kB / 0.8832 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.008588, allocations: 155.2 kB / 0.8833 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.651e-05/0.008685, allocations: 59.22 kB / 0.8834 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.008688, allocations: 0 / 0.8834 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001662/0.008854, allocations: 94.52 kB / 0.8835 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.008872, allocations: 10.66 kB / 0.8835 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.008878, allocations: 256 / 0.8835 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.008896, allocations: 4 kB / 0.8835 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.009008, allocations: 15.98 kB / 0.8835 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.009014, allocations: 0 / 0.8835 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/0.009084, allocations: 15.98 kB / 0.8835 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.009097, allocations: 4 kB / 0.8835 GB, free: 0.5273 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 0.0001042/0.009201, allocations: 164.5 kB / 0.8837 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.009272, allocations: 15.89 kB / 0.8837 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.009418, allocations: 62.02 kB / 0.8837 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.009422, allocations: 8 kB / 0.8838 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.009426, allocations: 0 / 0.8838 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.009431, allocations: 3.984 kB / 0.8838 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.009712, allocations: 152.6 kB / 0.8839 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.009714, allocations: 0 / 0.8839 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.879e-05/0.009783, allocations: 19.92 kB / 0.8839 GB, free: 52 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.009787, allocations: 3.938 kB / 0.8839 GB, free: 48 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.009798, allocations: 7.938 kB / 0.8839 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.0098, allocations: 0 / 0.8839 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.009802, allocations: 0 / 0.8839 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.01009, allocations: 466.2 kB / 0.8844 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.01011, allocations: 15.84 kB / 0.8844 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.01014, allocations: 4 kB / 0.8844 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.0103, allocations: 11.98 kB / 0.8844 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.01038, allocations: 27.89 kB / 0.8844 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.01039, allocations: 8.047 kB / 0.8844 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.887e-05/0.01047, allocations: 149.6 kB / 0.8846 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.01047, allocations: 0 / 0.8846 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003763/0.01085, allocations: 16 kB / 0.8846 GB, free: 15.34 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.0001133/0.01096, allocations: 107.2 kB / 0.8847 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.01115, allocations: 55.61 kB / 0.8848 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01115, allocations: 0 / 0.8848 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.313e-05/0.01122, allocations: 31.94 kB / 0.8848 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.01169, allocations: 19.92 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.01211, allocations: 210.1 kB / 0.885 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.351e-05/0.01217, allocations: 63.34 kB / 0.8851 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.532e-05/0.01225, allocations: 24.84 kB / 0.8851 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.01231, allocations: 20.5 kB / 0.8851 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of SimCode: time 1.072e-06/0.01231, allocations: 0 / 0.8851 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.004061/0.01637, allocations: 1.431 MB / 0.8865 GB, free: 13.33 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.749977716244757]