Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.94/2.94, allocations: 255 MB / 269.9 MB, free: 9.637 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002189/0.002189, allocations: 189.2 kB / 329.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.485/2.485, allocations: 225.6 MB / 0.6001 GB, free: 2.234 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 106.2 kB / 0.7074 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006512/0.0006516, allocations: 14.59 kB / 0.8242 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2081, allocations: 109.1 MB / 0.9308 GB, free: 25.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.002033/0.2102, allocations: 1.296 MB / 0.932 GB, free: 23.83 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006017/0.2109, allocations: 247.3 kB / 0.9323 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.503e-05/0.2109, allocations: 0 / 0.9323 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.211, allocations: 7.875 kB / 0.9323 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.2111, allocations: 15.86 kB / 0.9323 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.2114, allocations: 39.94 kB / 0.9323 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.2116, allocations: 143.6 kB / 0.9325 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.2117, allocations: 33.47 kB / 0.9325 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.2118, allocations: 55.77 kB / 0.9326 GB, free: 23.29 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.212, allocations: 71.72 kB / 0.9326 GB, free: 23.22 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.212, allocations: 4 kB / 0.9326 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.352e-05/0.2121, allocations: 8 kB / 0.9326 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.2121, allocations: 27.84 kB / 0.9327 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.2122, allocations: 49.64 kB / 0.9327 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.2123, allocations: 112 kB / 0.9328 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2123, allocations: 0 / 0.9328 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2124, allocations: 0 / 0.9328 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.2124, allocations: 4 kB / 0.9328 GB, free: 23.01 MB / 0.5886 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.00132/0.2137, allocations: 498.8 kB / 0.9333 GB, free: 22.47 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2138, allocations: 8.031 kB / 0.9333 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.2138, allocations: 12.84 kB / 0.9333 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.2156, allocations: 341.9 kB / 0.9337 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.2156, allocations: 12.25 kB / 0.9337 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.2157, allocations: 16.36 kB / 0.9337 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/0.2164, allocations: 172.7 kB / 0.9338 GB, free: 21.87 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.2164, allocations: 3.938 kB / 0.9339 GB, free: 21.87 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.2164, allocations: 11.98 kB / 0.9339 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.2164, allocations: 0 / 0.9339 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009375/0.2174, allocations: 167.8 kB / 0.934 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.2186, allocations: 0.5828 MB / 0.9346 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008895/0.2195, allocations: 215.7 kB / 0.9348 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004961/0.22, allocations: 106.6 kB / 0.9349 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.2201, allocations: 0 / 0.9349 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006875/0.2208, allocations: 185.8 kB / 0.9351 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 1.923e-06/0.2208, allocations: 3.938 kB / 0.9351 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.00162/0.2224, allocations: 325.4 kB / 0.9354 GB, free: 20.17 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.2225, allocations: 102.8 kB / 0.9355 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.2226, allocations: 169.9 kB / 0.9356 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.2227, allocations: 33.7 kB / 0.9357 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.2228, allocations: 116.3 kB / 0.9358 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.2228, allocations: 39.52 kB / 0.9358 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.2229, allocations: 4 kB / 0.9358 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.2229, allocations: 330.8 kB / 0.9361 GB, free: 19.33 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.2234, allocations: 99.92 kB / 0.9362 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/0.224, allocations: 147 kB / 0.9364 GB, free: 19.07 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004904/0.2245, allocations: 91.94 kB / 0.9365 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2245, allocations: 0 / 0.9365 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001141/0.2257, allocations: 265.2 kB / 0.9367 GB, free: 18.72 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2257, allocations: 12 kB / 0.9367 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2257, allocations: 0 / 0.9367 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.2258, allocations: 0 / 0.9367 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.2262, allocations: 55.89 kB / 0.9368 GB, free: 18.65 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.2262, allocations: 0 / 0.9368 GB, free: 18.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/0.2266, allocations: 59.73 kB / 0.9368 GB, free: 18.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.2267, allocations: 4 kB / 0.9369 GB, free: 18.59 MB / 0.5886 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.0001208/0.2268, allocations: 126.8 kB / 0.937 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.2269, allocations: 11.91 kB / 0.937 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/0.2273, allocations: 102.6 kB / 0.9371 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2273, allocations: 4 kB / 0.9371 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2273, allocations: 0 / 0.9371 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.2273, allocations: 3.938 kB / 0.9371 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.2275, allocations: 225.5 kB / 0.9373 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2275, allocations: 0 / 0.9373 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.2278, allocations: 39.91 kB / 0.9373 GB, free: 18.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2278, allocations: 4 kB / 0.9373 GB, free: 18.02 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.2279, allocations: 7.984 kB / 0.9374 GB, free: 18.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2279, allocations: 4 kB / 0.9374 GB, free: 18.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2279, allocations: 0 / 0.9374 GB, free: 18.01 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.2289, allocations: 270.8 kB / 0.9376 GB, free: 17.72 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.229, allocations: 92.95 kB / 0.9377 GB, free: 17.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/0.2291, allocations: 7.922 kB / 0.9377 GB, free: 17.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/0.2295, allocations: 43.97 kB / 0.9378 GB, free: 17.56 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.2297, allocations: 51.78 kB / 0.9378 GB, free: 17.51 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.2297, allocations: 8 kB / 0.9378 GB, free: 17.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.8e-05/0.2298, allocations: 117.8 kB / 0.9379 GB, free: 17.39 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.4e-07/0.2298, allocations: 0 / 0.9379 GB, free: 17.39 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002931/0.2301, allocations: 28 kB / 0.9379 GB, free: 17.36 MB / 0.5886 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 ($whenCondition2,hysteresis1.y,pul.T_start,pul.count,$whenCondition1,hysteresis2.y,pul1.T_start,pul1.count,hysteresis.y) * Number of discrete states: 5 (hysteresis.y,pul1.count,hysteresis2.y,pul.count,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000155/0.2303, allocations: 124 kB / 0.9381 GB, free: 17.23 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.2314, allocations: 220 kB / 0.9383 GB, free: 17.02 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2314, allocations: 0 / 0.9383 GB, free: 17.02 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005964/0.232, allocations: 115.9 kB / 0.9384 GB, free: 16.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.2324, allocations: 27.92 kB / 0.9384 GB, free: 16.88 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008052/0.2332, allocations: 297.9 kB / 0.9387 GB, free: 16.55 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.2334, allocations: 0.7167 MB / 0.9394 GB, free: 15.81 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001975/0.2336, allocations: 29.53 kB / 0.9394 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.2338, allocations: 19.42 kB / 0.9394 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of SimCode: time 7.61e-07/0.2338, allocations: 0 / 0.9394 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of Templates: time 0.006477/0.2403, allocations: 1.958 MB / 0.9414 GB, free: 13.81 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)