Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 255.9 MB / 271.2 MB, free: 8.871 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.001138/0.001138, allocations: 182.2 kB / 330.8 MB, free: 456 kB / 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 1.675/1.675, allocations: 225.7 MB / 0.6016 GB, free: 1.613 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.0008352/0.0008353, allocations: 95.66 kB / 0.709 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003975, allocations: 19.94 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2126, allocations: 109.2 MB / 0.9328 GB, free: 6.234 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001568/0.2142, allocations: 1.303 MB / 0.934 GB, free: 4.922 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0004267/0.2146, allocations: 231.4 kB / 0.9343 GB, free: 4.695 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.2147, allocations: 0 / 0.9343 GB, free: 4.695 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.2147, allocations: 11.86 kB / 0.9343 GB, free: 4.684 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.2148, allocations: 19.81 kB / 0.9343 GB, free: 4.664 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.215, allocations: 51.94 kB / 0.9343 GB, free: 4.613 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.2152, allocations: 151.6 kB / 0.9345 GB, free: 4.465 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2153, allocations: 33.47 kB / 0.9345 GB, free: 4.426 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.186e-05/0.2154, allocations: 55.77 kB / 0.9346 GB, free: 4.371 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.742e-05/0.2155, allocations: 79.59 kB / 0.9347 GB, free: 4.293 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.2155, allocations: 4 kB / 0.9347 GB, free: 4.289 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.112e-05/0.2155, allocations: 8 kB / 0.9347 GB, free: 4.281 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.429e-05/0.2156, allocations: 31.83 kB / 0.9347 GB, free: 4.25 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 6.295e-05/0.2156, allocations: 85.34 kB / 0.9348 GB, free: 4.16 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.2158, allocations: 147.7 kB / 0.9349 GB, free: 4.016 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2158, allocations: 0 / 0.9349 GB, free: 4.016 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2158, allocations: 0 / 0.9349 GB, free: 4.016 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2158, allocations: 0 / 0.9349 GB, free: 4.016 MB / 0.573 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.0008029/0.2166, allocations: 494.9 kB / 0.9354 GB, free: 3.48 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2166, allocations: 19.92 kB / 0.9354 GB, free: 3.461 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.2167, allocations: 16.75 kB / 0.9354 GB, free: 3.445 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000904/0.2176, allocations: 340.9 kB / 0.9357 GB, free: 3.074 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.2176, allocations: 12.38 kB / 0.9358 GB, free: 3.062 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.2177, allocations: 12.38 kB / 0.9358 GB, free: 3.051 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.2181, allocations: 180 kB / 0.9359 GB, free: 2.863 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2181, allocations: 3.938 kB / 0.9359 GB, free: 2.859 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.2181, allocations: 4 kB / 0.936 GB, free: 2.855 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2181, allocations: 7.984 kB / 0.936 GB, free: 2.848 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/0.2186, allocations: 159.8 kB / 0.9361 GB, free: 2.691 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007848/0.2194, allocations: 0.579 MB / 0.9367 GB, free: 2.055 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.2199, allocations: 215.7 kB / 0.9369 GB, free: 1.816 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.2202, allocations: 98.61 kB / 0.937 GB, free: 1.711 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.2203, allocations: 11.98 kB / 0.937 GB, free: 1.699 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004435/0.2207, allocations: 197.8 kB / 0.9372 GB, free: 1.484 MB / 0.573 GB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.2207, allocations: 0 / 0.9372 GB, free: 1.484 MB / 0.573 GB Notification: Performance of matching and sorting (n=14): time 0.0009217/0.2216, allocations: 313.2 kB / 0.9375 GB, free: 1.172 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.2217, allocations: 110.8 kB / 0.9376 GB, free: 1.039 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.2218, allocations: 161.2 kB / 0.9377 GB, free: 0.8672 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.2218, allocations: 41.7 kB / 0.9378 GB, free: 0.8203 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/0.2219, allocations: 112.3 kB / 0.9379 GB, free: 0.707 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.2219, allocations: 39.61 kB / 0.9379 GB, free: 0.668 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.222, allocations: 8 kB / 0.9379 GB, free: 0.6602 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.909e-05/0.222, allocations: 326.8 kB / 0.9382 GB, free: 340 kB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.2223, allocations: 99.92 kB / 0.9383 GB, free: 240 kB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.2226, allocations: 151.6 kB / 0.9385 GB, free: 72 kB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005532/0.2232, allocations: 190.3 kB / 0.9387 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2232, allocations: 4 kB / 0.9387 GB, free: 15.87 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000695/0.2239, allocations: 265.7 kB / 0.9389 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2239, allocations: 4 kB / 0.9389 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2239, allocations: 0 / 0.9389 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.224, allocations: 4 kB / 0.9389 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.2242, allocations: 56.02 kB / 0.939 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2242, allocations: 0 / 0.939 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.2245, allocations: 51.73 kB / 0.939 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.2245, allocations: 8 kB / 0.939 GB, free: 15.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.2247, allocations: 135.4 kB / 0.9392 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.2247, allocations: 15.81 kB / 0.9392 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.225, allocations: 98.58 kB / 0.9393 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.225, allocations: 8 kB / 0.9393 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.225, allocations: 0 / 0.9393 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.225, allocations: 12.11 kB / 0.9393 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.2252, allocations: 221.5 kB / 0.9395 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2252, allocations: 3.938 kB / 0.9395 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.2254, allocations: 35.97 kB / 0.9395 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2254, allocations: 0 / 0.9395 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.2254, allocations: 11.98 kB / 0.9396 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.2255, allocations: 4 kB / 0.9396 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2255, allocations: 0 / 0.9396 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006608/0.2261, allocations: 270.4 kB / 0.9398 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.2262, allocations: 93 kB / 0.9399 GB, free: 14.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.2262, allocations: 0 / 0.9399 GB, free: 14.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.2265, allocations: 35.97 kB / 0.9399 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.2266, allocations: 44.14 kB / 0.94 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.2266, allocations: 12 kB / 0.94 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.262e-05/0.2267, allocations: 114.3 kB / 0.9401 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2267, allocations: 4 kB / 0.9401 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002211/0.227, allocations: 31.91 kB / 0.9401 GB, free: 14.25 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 (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.0001829/0.2271, allocations: 119.7 kB / 0.9403 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007558/0.2279, allocations: 223.8 kB / 0.9405 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2279, allocations: 0 / 0.9405 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.2283, allocations: 115.9 kB / 0.9406 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.2286, allocations: 23.98 kB / 0.9406 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005902/0.2292, allocations: 293.9 kB / 0.9409 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.2295, allocations: 0.7089 MB / 0.9416 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001253/0.2296, allocations: 25.53 kB / 0.9416 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.2297, allocations: 23.44 kB / 0.9416 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of SimCode: time 3.11e-07/0.2297, allocations: 3.938 kB / 0.9416 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of Templates: time 0.005134/0.2349, allocations: 2.022 MB / 0.9436 GB, free: 10.66 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)