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.001407/0.001407, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001212/0.001212, allocations: 190.8 kB / 16.14 MB, free: 6.703 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.575/1.575, allocations: 205.1 MB / 222 MB, free: 4.754 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.794/1.794, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001455/0.001455, allocations: 62.47 kB / 0.6708 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2775, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.002555/0.2801, allocations: 1.083 MB / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.2819, allocations: 1.343 MB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.294e-05/0.282, allocations: 4 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.796e-05/0.2821, allocations: 11.86 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.2822, allocations: 23.8 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006781/0.2829, allocations: 245.9 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000252/0.2832, allocations: 279.3 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.2833, allocations: 45.67 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.2835, allocations: 103.7 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.2836, allocations: 95.58 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.462e-05/0.2836, allocations: 19.98 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.128e-05/0.2837, allocations: 31.98 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/0.2838, allocations: 31.84 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.2839, allocations: 99.55 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.2842, allocations: 315.3 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2843, allocations: 4 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.61e-07/0.2843, allocations: 3.938 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.944e-06/0.2843, allocations: 0 / 0.7863 GB, free: 10.29 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.0008624/0.2851, allocations: 0.5644 MB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2852, allocations: 12.03 kB / 0.7869 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.842e-05/0.2853, allocations: 20.75 kB / 0.7869 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007929/0.2861, allocations: 319.7 kB / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.2861, allocations: 12.38 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/0.2862, allocations: 16.38 kB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.2865, allocations: 132.7 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2865, allocations: 3.938 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.2865, allocations: 8 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.2865, allocations: 3.938 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.2868, allocations: 79.88 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.2875, allocations: 0.6374 MB / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.2879, allocations: 143.8 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.288, allocations: 50.7 kB / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.2881, allocations: 4 kB / 0.7883 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.2884, allocations: 153.8 kB / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.2884, allocations: 0 / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0005602/0.2889, allocations: 197.3 kB / 0.7886 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.289, allocations: 110.8 kB / 0.7887 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.2892, allocations: 194.5 kB / 0.7889 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/0.2893, allocations: 37.69 kB / 0.7889 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.2894, allocations: 132.3 kB / 0.7891 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.2895, allocations: 31.55 kB / 0.7891 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.2896, allocations: 65.69 kB / 0.7891 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.2898, allocations: 330.8 kB / 0.7895 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.29, allocations: 95.89 kB / 0.7895 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.2903, allocations: 156.5 kB / 0.7897 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.2907, allocations: 229.2 kB / 0.7899 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2907, allocations: 4 kB / 0.7899 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006511/0.2914, allocations: 348.6 kB / 0.7903 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.677e-05/0.2915, allocations: 67.39 kB / 0.7903 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.2915, allocations: 4 kB / 0.7903 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.2915, allocations: 0 / 0.7903 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.2916, allocations: 23.92 kB / 0.7903 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.2916, allocations: 3.938 kB / 0.7903 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.2921, allocations: 75.89 kB / 0.7904 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.2921, allocations: 12.67 kB / 0.7904 GB, free: 5.676 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.0001637/0.2923, allocations: 138.4 kB / 0.7906 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.2923, allocations: 15.81 kB / 0.7906 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.2926, allocations: 94.64 kB / 0.7907 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2926, allocations: 4 kB / 0.7907 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.2926, allocations: 3.938 kB / 0.7907 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2926, allocations: 0 / 0.7907 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.2929, allocations: 249.3 kB / 0.7909 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2929, allocations: 0 / 0.7909 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.27e-05/0.293, allocations: 19.92 kB / 0.7909 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.293, allocations: 4 kB / 0.7909 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.293, allocations: 7.984 kB / 0.7909 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.293, allocations: 4 kB / 0.7909 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.293, allocations: 7.938 kB / 0.791 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.2934, allocations: 186.6 kB / 0.7911 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.2935, allocations: 89.2 kB / 0.7912 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.2935, allocations: 11.98 kB / 0.7912 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2936, allocations: 11.98 kB / 0.7912 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.2938, allocations: 39.81 kB / 0.7913 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.2938, allocations: 4 kB / 0.7913 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001252/0.2939, allocations: 143.2 kB / 0.7914 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2939, allocations: 0 / 0.7914 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002812/0.2942, allocations: 44 kB / 0.7915 GB, free: 4.508 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.0002325/0.2944, allocations: 119.2 kB / 0.7916 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005937/0.295, allocations: 314.6 kB / 0.7919 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2951, allocations: 0 / 0.7919 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.2952, allocations: 63.91 kB / 0.7919 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.2955, allocations: 41.16 kB / 0.792 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005234/0.2961, allocations: 334.2 kB / 0.7923 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.2964, allocations: 0.7206 MB / 0.793 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.2965, allocations: 25.53 kB / 0.793 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.2965, allocations: 23.44 kB / 0.793 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2965, allocations: 0 / 0.793 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of Templates: time 0.006288/0.3028, allocations: 2.996 MB / 0.796 GB, free: 15.84 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)