Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004271/0.004271, allocations: 234.9 kB / 15.8 MB, free: 6.281 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001191/0.001191, allocations: 184.2 kB / 16.69 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.553/3.553, allocations: 389.1 MB / 406.5 MB, free: 6.711 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.619/4.619, allocations: 472.3 MB / 0.9023 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004761, allocations: 15.98 kB / 1.008 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2106, allocations: 98.7 MB / 1.105 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.002249/0.2129, allocations: 1.288 MB / 1.106 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007255/0.2137, allocations: 244.2 kB / 1.106 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.479e-05/0.2138, allocations: 0 / 1.106 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.2138, allocations: 7.922 kB / 1.106 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.214, allocations: 27.72 kB / 1.106 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.2142, allocations: 35.95 kB / 1.106 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.2145, allocations: 139.6 kB / 1.106 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.2146, allocations: 29.47 kB / 1.106 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.2147, allocations: 59.77 kB / 1.106 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.2149, allocations: 75.66 kB / 1.106 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.2149, allocations: 4 kB / 1.106 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.396e-05/0.215, allocations: 8 kB / 1.106 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.633e-05/0.215, allocations: 27.89 kB / 1.107 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.2151, allocations: 49.56 kB / 1.107 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.2153, allocations: 120 kB / 1.107 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2153, allocations: 0 / 1.107 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2153, allocations: 0 / 1.107 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.2153, allocations: 0 / 1.107 GB, free: 1.738 MB / 0.7448 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.001406/0.2168, allocations: 498.6 kB / 1.107 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.2168, allocations: 8.031 kB / 1.107 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.901e-05/0.2169, allocations: 11.91 kB / 1.107 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.2188, allocations: 347.2 kB / 1.107 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.2188, allocations: 8 kB / 1.107 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.007e-05/0.2189, allocations: 12 kB / 1.108 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007408/0.2197, allocations: 182.8 kB / 1.108 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2197, allocations: 3.938 kB / 1.108 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.2197, allocations: 8 kB / 1.108 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.2197, allocations: 3.953 kB / 1.108 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009968/0.2207, allocations: 163.8 kB / 1.108 GB, free: 428 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.2222, allocations: 0.5713 MB / 1.108 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.2233, allocations: 223.6 kB / 1.109 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005313/0.2238, allocations: 102.5 kB / 1.109 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/0.2239, allocations: 12 kB / 1.109 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000811/0.2247, allocations: 193.8 kB / 1.109 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=14): time 2.665e-06/0.2247, allocations: 0 / 1.109 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of matching and sorting (n=14): time 0.001752/0.2265, allocations: 313.2 kB / 1.109 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.2266, allocations: 110.8 kB / 1.109 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.2268, allocations: 159.4 kB / 1.109 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.2268, allocations: 37.7 kB / 1.11 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.227, allocations: 112.3 kB / 1.11 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.227, allocations: 43.45 kB / 1.11 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.2271, allocations: 4 kB / 1.11 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2272, allocations: 322.8 kB / 1.11 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005571/0.2278, allocations: 99.92 kB / 1.11 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006082/0.2284, allocations: 149 kB / 1.11 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005306/0.229, allocations: 91.89 kB / 1.11 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.229, allocations: 3.984 kB / 1.11 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001245/0.2302, allocations: 265.2 kB / 1.111 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2303, allocations: 4 kB / 1.111 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2303, allocations: 8 kB / 1.111 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.2303, allocations: 0 / 1.111 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/0.2307, allocations: 47.91 kB / 1.111 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.2308, allocations: 4 kB / 1.111 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004628/0.2312, allocations: 47.8 kB / 1.111 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.2313, allocations: 8 kB / 1.111 GB, free: 13.33 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.hysteresis.y,hysteresis.y,$whenCondition2,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001739/0.2315, allocations: 137.8 kB / 1.111 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.2315, allocations: 11.86 kB / 1.111 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.232, allocations: 102.6 kB / 1.111 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.232, allocations: 0 / 1.111 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.232, allocations: 4 kB / 1.111 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/0.2321, allocations: 92.92 kB / 1.111 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.2321, allocations: 3.938 kB / 1.111 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.2326, allocations: 43.95 kB / 1.111 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.2328, allocations: 39.92 kB / 1.111 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001646/0.2344, allocations: 0.4959 MB / 1.112 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001314/0.2358, allocations: 0.5518 MB / 1.112 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006184/0.2364, allocations: 108.2 kB / 1.112 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001333/0.2365, allocations: 123 kB / 1.112 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of Backend: time 7.62e-07/0.2366, allocations: 0 / 1.112 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.2379, allocations: 222.3 kB / 1.113 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of SimCode: time 0.0009637/0.2389, allocations: 0.7192 MB / 1.113 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of Templates: time 0.007873/0.2468, allocations: 2.21 MB / 1.115 GB, free: 8.395 MB / 0.7605 GB