Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.849/1.849, allocations: 288.2 MB / 303.2 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0018/0.0018, allocations: 185.1 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009825/0.0009824, allocations: 93.33 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004435, allocations: 13.53 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3203, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001312/0.3217, allocations: 0.6948 MB / 0.9802 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.3233, allocations: 1.254 MB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.3234, allocations: 0 / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.3234, allocations: 7.922 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.3236, allocations: 43.88 kB / 0.9814 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.3242, allocations: 209.1 kB / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.3244, allocations: 163.7 kB / 0.9818 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.3246, allocations: 41.83 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.3247, allocations: 95.73 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.3249, allocations: 95.56 kB / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.3249, allocations: 12 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.259e-05/0.325, allocations: 23.98 kB / 0.9821 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.325, allocations: 27.91 kB / 0.9821 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.58e-05/0.3251, allocations: 53.64 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.3253, allocations: 247.6 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3253, allocations: 4 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3253, allocations: 4 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.3254, allocations: 0 / 0.9824 GB, free: 24.62 MB / 0.6198 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.0007812/0.3261, allocations: 0.5292 MB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3262, allocations: 16.02 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.3263, allocations: 42.55 kB / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/0.3263, allocations: 27.72 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007571/0.3271, allocations: 314.4 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.3271, allocations: 12 kB / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.3272, allocations: 23.94 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.3274, allocations: 136.8 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3275, allocations: 0 / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3275, allocations: 11.95 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3275, allocations: 0 / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.3277, allocations: 83.88 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.3283, allocations: 0.6413 MB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.3287, allocations: 143.9 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.3287, allocations: 0 / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.329, allocations: 150 kB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.329, allocations: 0 / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0005308/0.3295, allocations: 213.3 kB / 0.9846 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.3296, allocations: 118.7 kB / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.3297, allocations: 186.5 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.3298, allocations: 37.7 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.285e-05/0.3299, allocations: 128.5 kB / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.3299, allocations: 39.61 kB / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.33, allocations: 8 kB / 0.9851 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3301, allocations: 330.8 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.3303, allocations: 95.88 kB / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.3305, allocations: 160.5 kB / 0.9857 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.3308, allocations: 151.3 kB / 0.9858 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3308, allocations: 0 / 0.9858 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005525/0.3313, allocations: 361.1 kB / 0.9862 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/0.3314, allocations: 65.28 kB / 0.9863 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.3314, allocations: 4.188 kB / 0.9863 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3314, allocations: 0 / 0.9863 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.992e-05/0.3315, allocations: 27.92 kB / 0.9863 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3315, allocations: 7.984 kB / 0.9863 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/0.3319, allocations: 83.88 kB / 0.9864 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.332, allocations: 15.98 kB / 0.9864 GB, free: 20.16 MB / 0.6198 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.000129/0.3321, allocations: 143.4 kB / 0.9865 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.3321, allocations: 27.69 kB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.3324, allocations: 98.58 kB / 0.9866 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3324, allocations: 8 kB / 0.9867 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3324, allocations: 0 / 0.9867 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3325, allocations: 0 / 0.9867 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.3326, allocations: 241.5 kB / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3326, allocations: 4 kB / 0.9869 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.859e-05/0.3327, allocations: 19.98 kB / 0.9869 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.3327, allocations: 0 / 0.9869 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.3328, allocations: 7.938 kB / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3328, allocations: 3.938 kB / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3328, allocations: 4 kB / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.3331, allocations: 231.2 kB / 0.9871 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.3332, allocations: 92.92 kB / 0.9872 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.3332, allocations: 0 / 0.9872 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3333, allocations: 15.98 kB / 0.9872 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/0.3334, allocations: 35.88 kB / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.3334, allocations: 7.953 kB / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.354e-05/0.3335, allocations: 140.2 kB / 0.9874 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3335, allocations: 7.938 kB / 0.9874 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002559/0.3338, allocations: 43.91 kB / 0.9875 GB, free: 18.93 MB / 0.6198 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.0006409/0.3344, allocations: 0.9092 MB / 0.9884 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004888/0.3349, allocations: 330.9 kB / 0.9887 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3349, allocations: 0 / 0.9887 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.3351, allocations: 67.91 kB / 0.9887 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.3354, allocations: 43.95 kB / 0.9888 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008911/0.3363, allocations: 1.479 MB / 0.9902 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.3364, allocations: 0.7284 MB / 0.9909 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.3365, allocations: 21.55 kB / 0.991 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.683e-05/0.3366, allocations: 59.41 kB / 0.991 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of SimCode: time 3.4e-07/0.3366, allocations: 0 / 0.991 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.3547, allocations: 4.545 MB / 0.9955 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/0.355, allocations: 203.8 kB / 0.9956 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.128, allocations: 3.938 kB / 0.9956 GB, free: 10.52 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)