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.001034/0.001034, allocations: 100 kB / 15.05 MB, free: 1.105 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.001174/0.001174, allocations: 177.3 kB / 15.94 MB, free: 228 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.371/1.371, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.595/1.595, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0004937/0.0004937, allocations: 16.06 kB / 0.6736 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.237, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001356/0.2384, allocations: 0.7062 MB / 0.7878 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.2402, allocations: 1.25 MB / 0.789 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.613e-05/0.2403, allocations: 4 kB / 0.789 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.2404, allocations: 11.86 kB / 0.7891 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.2405, allocations: 35.88 kB / 0.7891 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006983/0.2412, allocations: 213.7 kB / 0.7893 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.2415, allocations: 159.7 kB / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.2416, allocations: 37.86 kB / 0.7895 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.2419, allocations: 103.6 kB / 0.7896 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.242, allocations: 91.62 kB / 0.7897 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.443e-05/0.2421, allocations: 12 kB / 0.7897 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-05/0.2422, allocations: 27.98 kB / 0.7897 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.735e-05/0.2422, allocations: 23.86 kB / 0.7897 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.2423, allocations: 57.64 kB / 0.7898 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.2426, allocations: 247.6 kB / 0.79 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.2426, allocations: 0 / 0.79 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.199e-06/0.2426, allocations: 4 kB / 0.79 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.2426, allocations: 0 / 0.79 GB, free: 8.973 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.0009045/0.2436, allocations: 0.5358 MB / 0.7906 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2436, allocations: 12.03 kB / 0.7906 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.2437, allocations: 23.72 kB / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008126/0.2445, allocations: 330.3 kB / 0.7909 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.2446, allocations: 12 kB / 0.7909 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.2446, allocations: 12 kB / 0.7909 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.2449, allocations: 132.2 kB / 0.791 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.2449, allocations: 4 kB / 0.7911 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.2449, allocations: 4 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.245, allocations: 3.953 kB / 0.7911 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.2452, allocations: 83.88 kB / 0.7911 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008183/0.246, allocations: 0.6452 MB / 0.7918 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.2464, allocations: 140 kB / 0.7919 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.2464, allocations: 0 / 0.7919 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002937/0.2467, allocations: 146 kB / 0.792 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.2467, allocations: 0 / 0.792 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0005564/0.2473, allocations: 221.7 kB / 0.7923 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.2474, allocations: 110.8 kB / 0.7924 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.2476, allocations: 190.7 kB / 0.7925 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.227e-05/0.2476, allocations: 41.7 kB / 0.7926 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/0.2477, allocations: 124.5 kB / 0.7927 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.2478, allocations: 31.55 kB / 0.7927 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.2478, allocations: 11.94 kB / 0.7927 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2479, allocations: 330.8 kB / 0.7931 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.2482, allocations: 95.89 kB / 0.7931 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.2484, allocations: 164.5 kB / 0.7933 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.2487, allocations: 151.3 kB / 0.7935 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2487, allocations: 0 / 0.7935 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006295/0.2493, allocations: 356.8 kB / 0.7938 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.2494, allocations: 67.39 kB / 0.7939 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2494, allocations: 0 / 0.7939 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2494, allocations: 7.938 kB / 0.7939 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.079e-05/0.2495, allocations: 19.92 kB / 0.7939 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2495, allocations: 4 kB / 0.7939 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/0.25, allocations: 91.77 kB / 0.794 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.25, allocations: 19.98 kB / 0.794 GB, free: 4.559 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.0001399/0.2501, allocations: 145.7 kB / 0.7941 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.2502, allocations: 15.81 kB / 0.7941 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.2505, allocations: 102.8 kB / 0.7942 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2505, allocations: 4 kB / 0.7942 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2505, allocations: 0 / 0.7942 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/0.2505, allocations: 12.02 kB / 0.7943 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.2507, allocations: 241.5 kB / 0.7945 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2507, allocations: 0 / 0.7945 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.167e-05/0.2508, allocations: 19.92 kB / 0.7945 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.2508, allocations: 4 kB / 0.7945 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.2509, allocations: 0 / 0.7945 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.2509, allocations: 4 kB / 0.7945 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2509, allocations: 0 / 0.7945 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.2512, allocations: 225.9 kB / 0.7947 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.2513, allocations: 96.91 kB / 0.7948 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.2514, allocations: 4.312 kB / 0.7948 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.2515, allocations: 11.98 kB / 0.7948 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.2516, allocations: 31.95 kB / 0.7949 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.2516, allocations: 7.984 kB / 0.7949 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000108/0.2517, allocations: 144.2 kB / 0.795 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2517, allocations: 4 kB / 0.795 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002927/0.252, allocations: 52 kB / 0.7951 GB, free: 3.332 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.0001831/0.2522, allocations: 111.1 kB / 0.7952 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005559/0.2528, allocations: 326.6 kB / 0.7955 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2528, allocations: 0 / 0.7955 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.253, allocations: 71.91 kB / 0.7956 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.2532, allocations: 36.22 kB / 0.7956 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000496/0.2537, allocations: 338.1 kB / 0.7959 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.254, allocations: 0.7245 MB / 0.7966 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000102/0.2541, allocations: 33.48 kB / 0.7967 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.2542, allocations: 19.42 kB / 0.7967 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2542, allocations: 4 kB / 0.7967 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of Templates: time 0.005938/0.2601, allocations: 2.876 MB / 0.7995 GB, free: 14.75 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: