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.0008424/0.0008425, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009311/0.000931, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.652/1.652, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0004746/0.0004746, allocations: 15.66 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2325, allocations: 116.3 MB / 0.7873 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001326/0.2338, allocations: 0.7059 MB / 0.788 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.2354, allocations: 1.297 MB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.2355, allocations: 0 / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.2356, allocations: 3.938 kB / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.2357, allocations: 31.72 kB / 0.7893 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007064/0.2364, allocations: 219.3 kB / 0.7895 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.2366, allocations: 263.3 kB / 0.7898 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.2368, allocations: 29.84 kB / 0.7898 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.2369, allocations: 99.67 kB / 0.7899 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.2371, allocations: 91.64 kB / 0.79 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.2371, allocations: 12 kB / 0.79 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.343e-05/0.2372, allocations: 31.97 kB / 0.79 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.123e-05/0.2372, allocations: 23.86 kB / 0.79 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.113e-05/0.2373, allocations: 53.64 kB / 0.7901 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.2375, allocations: 251.6 kB / 0.7903 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2375, allocations: 0 / 0.7903 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2375, allocations: 0 / 0.7903 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2375, allocations: 0 / 0.7903 GB, free: 8.773 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.0007182/0.2383, allocations: 0.5319 MB / 0.7908 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2383, allocations: 8.031 kB / 0.7909 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.2384, allocations: 27.72 kB / 0.7909 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00069/0.2391, allocations: 322.3 kB / 0.7912 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.2391, allocations: 15.98 kB / 0.7912 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.2392, allocations: 24 kB / 0.7912 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.2394, allocations: 128.2 kB / 0.7913 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2395, allocations: 3.938 kB / 0.7914 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.2395, allocations: 4 kB / 0.7914 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2395, allocations: 3.953 kB / 0.7914 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.2397, allocations: 87.88 kB / 0.7914 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007343/0.2404, allocations: 0.6413 MB / 0.7921 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.2408, allocations: 151.8 kB / 0.7922 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.2409, allocations: 62.64 kB / 0.7923 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.241, allocations: 0 / 0.7923 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002737/0.2413, allocations: 149.5 kB / 0.7924 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.2413, allocations: 0 / 0.7924 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0005015/0.2418, allocations: 213.3 kB / 0.7926 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.2418, allocations: 110.8 kB / 0.7927 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.242, allocations: 186.7 kB / 0.7929 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.242, allocations: 41.69 kB / 0.7929 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.764e-05/0.2421, allocations: 124.5 kB / 0.7931 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.2422, allocations: 35.61 kB / 0.7931 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.2422, allocations: 8 kB / 0.7931 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2423, allocations: 330.8 kB / 0.7934 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.2425, allocations: 91.94 kB / 0.7935 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.2428, allocations: 168.5 kB / 0.7937 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.243, allocations: 147.4 kB / 0.7938 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.243, allocations: 0 / 0.7938 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006044/0.2436, allocations: 360.6 kB / 0.7942 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.626e-05/0.2437, allocations: 71.52 kB / 0.7942 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2437, allocations: 0 / 0.7942 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2437, allocations: 4 kB / 0.7942 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.489e-05/0.2438, allocations: 15.98 kB / 0.7942 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.2439, allocations: 4 kB / 0.7942 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.2442, allocations: 92.45 kB / 0.7943 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.2443, allocations: 23.92 kB / 0.7944 GB, free: 4.289 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,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.2444, allocations: 138.5 kB / 0.7945 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.2444, allocations: 19.81 kB / 0.7945 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.2447, allocations: 102.5 kB / 0.7946 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2447, allocations: 0 / 0.7946 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2447, allocations: 4 kB / 0.7946 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2447, allocations: 4 kB / 0.7946 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.2449, allocations: 245.5 kB / 0.7948 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2449, allocations: 0 / 0.7948 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.917e-05/0.245, allocations: 19.98 kB / 0.7949 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.245, allocations: 4 kB / 0.7949 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.245, allocations: 3.984 kB / 0.7949 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.245, allocations: 7.938 kB / 0.7949 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.245, allocations: 0 / 0.7949 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.2454, allocations: 202.5 kB / 0.7951 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.2454, allocations: 101.1 kB / 0.7952 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.2455, allocations: 3.984 kB / 0.7952 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.34e-05/0.2456, allocations: 19.98 kB / 0.7952 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.2456, allocations: 27.94 kB / 0.7952 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.2457, allocations: 8 kB / 0.7952 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001004/0.2458, allocations: 140.2 kB / 0.7954 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2458, allocations: 0 / 0.7954 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002551/0.246, allocations: 44 kB / 0.7954 GB, free: 3.105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.2462, allocations: 123.1 kB / 0.7955 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005485/0.2468, allocations: 318.6 kB / 0.7958 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2468, allocations: 0 / 0.7958 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.247, allocations: 72.16 kB / 0.7959 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.2473, allocations: 39.92 kB / 0.7959 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.2478, allocations: 346.1 kB / 0.7963 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.2481, allocations: 0.7128 MB / 0.797 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.8e-05/0.2482, allocations: 29.53 kB / 0.797 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.2482, allocations: 19.44 kB / 0.797 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2482, allocations: 4 kB / 0.797 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of Templates: time 0.006145/0.2544, allocations: 2.886 MB / 0.7998 GB, free: 14.52 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: