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.001257/0.001257, allocations: 101.6 kB / 16.27 MB, free: 5.852 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.001206/0.001206, allocations: 188.7 kB / 17.19 MB, free: 5.5 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.486/1.486, allocations: 205.1 MB / 223.1 MB, free: 12.27 MB / 190.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.851/1.851, allocations: 292.3 MB / 0.5495 GB, free: 17.56 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.001508/0.001508, allocations: 75.89 kB / 0.6722 GB, free: 6.59 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2935, allocations: 114.6 MB / 0.784 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.0028/0.2964, allocations: 1.025 MB / 0.785 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002229/0.2986, allocations: 1.308 MB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.714e-05/0.2987, allocations: 0 / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.542e-05/0.2988, allocations: 19.73 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.299, allocations: 39.66 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008406/0.2998, allocations: 266.9 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.3002, allocations: 331.3 kB / 0.787 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.3004, allocations: 49.66 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.3006, allocations: 123.7 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.3008, allocations: 107.6 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/0.3008, allocations: 32 kB / 0.7873 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.301, allocations: 47.98 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.301, allocations: 39.83 kB / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.3012, allocations: 119.5 kB / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.3016, allocations: 331.3 kB / 0.7878 GB, free: 96 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3016, allocations: 7.875 kB / 0.7878 GB, free: 88 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.424e-06/0.3016, allocations: 0 / 0.7878 GB, free: 88 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.3016, allocations: 0 / 0.7878 GB, free: 88 kB / 0.6544 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.4921/0.7938, allocations: 0.5603 MB / 0.7883 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.7938, allocations: 7.875 kB / 0.7883 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.091e-05/0.7939, allocations: 29.66 kB / 0.7884 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007522/0.7947, allocations: 309.1 kB / 0.7886 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.7947, allocations: 18.89 kB / 0.7887 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.7948, allocations: 17.88 kB / 0.7887 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.795, allocations: 129.3 kB / 0.7888 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.7951, allocations: 3.938 kB / 0.7888 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.7951, allocations: 6 kB / 0.7888 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.7951, allocations: 8.609 kB / 0.7888 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.7953, allocations: 71.66 kB / 0.7889 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.7959, allocations: 0.641 MB / 0.7895 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.7963, allocations: 138.5 kB / 0.7897 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.7964, allocations: 59.53 kB / 0.7897 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.7965, allocations: 0 / 0.7897 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/0.7968, allocations: 152 kB / 0.7899 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.7968, allocations: 2.156 kB / 0.7899 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0005316/0.7973, allocations: 201.1 kB / 0.79 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.7974, allocations: 110.2 kB / 0.7902 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.7975, allocations: 199.7 kB / 0.7903 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.7976, allocations: 35.3 kB / 0.7904 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.7977, allocations: 130.6 kB / 0.7905 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.7977, allocations: 40.52 kB / 0.7905 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-05/0.7978, allocations: 60.39 kB / 0.7906 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.98e-05/0.7979, allocations: 330.1 kB / 0.7909 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.7981, allocations: 94.47 kB / 0.791 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.7983, allocations: 161.4 kB / 0.7912 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.7987, allocations: 225.5 kB / 0.7914 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.7987, allocations: 2.625 kB / 0.7914 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005759/0.7993, allocations: 356.3 kB / 0.7917 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.7994, allocations: 62.38 kB / 0.7918 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.7994, allocations: 2.625 kB / 0.7918 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.7994, allocations: 2.625 kB / 0.7918 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.7995, allocations: 19.59 kB / 0.7918 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.7995, allocations: 11.53 kB / 0.7918 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.7999, allocations: 67.7 kB / 0.7919 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.7999, allocations: 13.22 kB / 0.7919 GB, free: 46.7 MB / 0.6544 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.0001029/0.8, allocations: 143.2 kB / 0.792 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.8, allocations: 19.66 kB / 0.792 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.8003, allocations: 92.72 kB / 0.7921 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.8003, allocations: 3.5 kB / 0.7921 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.8003, allocations: 5.531 kB / 0.7921 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.8003, allocations: 0 / 0.7921 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.8005, allocations: 235.8 kB / 0.7924 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8005, allocations: 2.812 kB / 0.7924 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.789e-05/0.8006, allocations: 21.98 kB / 0.7924 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8006, allocations: 2.672 kB / 0.7924 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.8006, allocations: 2.625 kB / 0.7924 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.8006, allocations: 3.719 kB / 0.7924 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8006, allocations: 4.812 kB / 0.7924 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.8009, allocations: 193.5 kB / 0.7926 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.801, allocations: 90.27 kB / 0.7927 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.801, allocations: 11.84 kB / 0.7927 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.8011, allocations: 8.188 kB / 0.7927 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/0.8012, allocations: 32.19 kB / 0.7927 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.8012, allocations: 9.188 kB / 0.7927 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.319e-05/0.8013, allocations: 132.5 kB / 0.7929 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.403e-06/0.8013, allocations: 7.844 kB / 0.7929 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002661/0.8016, allocations: 55.53 kB / 0.7929 GB, free: 46.07 MB / 0.6544 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.0001791/0.8018, allocations: 110.2 kB / 0.793 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005097/0.8023, allocations: 322.3 kB / 0.7933 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8023, allocations: 256 / 0.7933 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.8025, allocations: 74.28 kB / 0.7934 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.8028, allocations: 39.33 kB / 0.7934 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.8033, allocations: 312.5 kB / 0.7937 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.8034, allocations: 0.7238 MB / 0.7944 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.8035, allocations: 24.56 kB / 0.7945 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of SimCode: time 3.5e-07/0.8035, allocations: 1.312 kB / 0.7945 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of Templates: time 0.004541/0.808, allocations: 2.779 MB / 0.7972 GB, free: 44.78 MB / 0.6544 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)