Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 194.5 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.889/1.889, allocations: 292.2 MB / 0.5485 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001535, allocations: 65.66 kB / 0.671 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3039, allocations: 114.6 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.0028/0.3067, allocations: 1.078 MB / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.3089, allocations: 1.32 MB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.309, allocations: 0 / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.387e-05/0.3092, allocations: 3.938 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.3093, allocations: 19.8 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008728/0.3102, allocations: 254.9 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004366/0.3107, allocations: 335.3 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.3109, allocations: 41.66 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.3111, allocations: 127.7 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.3113, allocations: 107.6 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.409e-05/0.3113, allocations: 32 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.3114, allocations: 51.92 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.804e-05/0.3115, allocations: 39.83 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.3117, allocations: 115.5 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004514/0.3121, allocations: 335.3 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.3122, allocations: 0 / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3122, allocations: 0 / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.3122, allocations: 0 / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001101/0.3133, allocations: 0.5708 MB / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.3133, allocations: 8.031 kB / 0.7872 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.3135, allocations: 24.75 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008952/0.3144, allocations: 315.7 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.3144, allocations: 16.36 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.3145, allocations: 12.38 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.3148, allocations: 132.8 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.3148, allocations: 7.875 kB / 0.7877 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.3149, allocations: 4 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3149, allocations: 4 kB / 0.7877 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.3151, allocations: 71.94 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008672/0.316, allocations: 0.6413 MB / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.3164, allocations: 143.8 kB / 0.7885 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.3166, allocations: 54.64 kB / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.3166, allocations: 0 / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003859/0.317, allocations: 149.8 kB / 0.7887 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.317, allocations: 0 / 0.7887 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0005809/0.3176, allocations: 205.3 kB / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.3177, allocations: 106.8 kB / 0.789 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.3179, allocations: 194.5 kB / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/0.318, allocations: 41.69 kB / 0.7892 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.3181, allocations: 132.4 kB / 0.7893 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.3181, allocations: 31.55 kB / 0.7894 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3183, allocations: 61.69 kB / 0.7894 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3184, allocations: 330.8 kB / 0.7898 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.3186, allocations: 99.89 kB / 0.7898 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.3189, allocations: 159.3 kB / 0.79 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.3193, allocations: 225.3 kB / 0.7902 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3193, allocations: 0.5 kB / 0.7902 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006915/0.32, allocations: 360.8 kB / 0.7906 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/0.3201, allocations: 67.39 kB / 0.7906 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.3201, allocations: 0 / 0.7906 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3201, allocations: 4 kB / 0.7906 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.3202, allocations: 15.98 kB / 0.7906 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3203, allocations: 11.88 kB / 0.7907 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.3206, allocations: 71.89 kB / 0.7907 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.3207, allocations: 15.98 kB / 0.7907 GB, free: 5.441 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,hysteresis1.y,$PRE.hysteresis1.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,hysteresis2.y,$PRE.hysteresis2.y,hysteresis.y,$PRE.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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.0001688/0.3209, allocations: 133.8 kB / 0.7909 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.3209, allocations: 15.81 kB / 0.7909 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.3212, allocations: 98.58 kB / 0.791 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3212, allocations: 0 / 0.791 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.3212, allocations: 7.938 kB / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3212, allocations: 0 / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.3215, allocations: 241.4 kB / 0.7912 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3215, allocations: 0 / 0.7912 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.3216, allocations: 15.98 kB / 0.7912 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3216, allocations: 0 / 0.7912 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.3216, allocations: 11.98 kB / 0.7912 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3216, allocations: 0 / 0.7912 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.3216, allocations: 11.94 kB / 0.7913 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.322, allocations: 194.5 kB / 0.7914 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.3221, allocations: 88.92 kB / 0.7915 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.3221, allocations: 4 kB / 0.7915 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.3222, allocations: 23.91 kB / 0.7915 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.829e-05/0.3223, allocations: 28.19 kB / 0.7916 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.3224, allocations: 11.98 kB / 0.7916 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001041/0.3225, allocations: 131.2 kB / 0.7917 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3225, allocations: 0 / 0.7917 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002862/0.3228, allocations: 51.92 kB / 0.7918 GB, free: 4.281 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003399/0.3231, allocations: 119.1 kB / 0.7919 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007181/0.3238, allocations: 326.8 kB / 0.7922 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3238, allocations: 0 / 0.7922 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.324, allocations: 63.89 kB / 0.7922 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.3244, allocations: 48.16 kB / 0.7923 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006972/0.3251, allocations: 336.5 kB / 0.7926 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.3256, allocations: 0.7203 MB / 0.7933 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.3258, allocations: 21.55 kB / 0.7933 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.3259, allocations: 27.42 kB / 0.7934 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3259, allocations: 0 / 0.7934 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of Templates: time 0.007275/0.3331, allocations: 3.137 MB / 0.7964 GB, free: 15.45 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)