Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.86/1.86, allocations: 306.1 MB / 321.4 MB, free: 10.7 MB / 250.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.001481/0.001481, allocations: 180.5 kB / 393.1 MB, free: 4.07 MB / 314.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.963/1.963, allocations: 225.7 MB / 0.6743 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008666/0.0008668, allocations: 91.05 kB / 0.7935 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003992, allocations: 8 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.676/0.6764, allocations: 121.3 MB / 1.041 GB, free: 58.13 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001136/0.6776, allocations: 0.7046 MB / 1.042 GB, free: 57.72 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.6793, allocations: 1.552 MB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.6794, allocations: 2.594 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.6794, allocations: 9.984 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.6795, allocations: 30.02 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006375/0.6802, allocations: 247.3 kB / 1.043 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.6805, allocations: 275.9 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.6807, allocations: 42.94 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.6808, allocations: 104.8 kB / 1.044 GB, free: 56.15 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.681, allocations: 85.67 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.6811, allocations: 12.84 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.052e-05/0.6811, allocations: 26.98 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.6812, allocations: 36.28 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.6814, allocations: 120.5 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003982/0.6818, allocations: 312.7 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.6818, allocations: 3.812 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6818, allocations: 0 / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.6818, allocations: 0.875 kB / 1.044 GB, free: 55.93 MB / 0.698 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.0008334/0.6826, allocations: 0.5241 MB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.6827, allocations: 9.812 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.102e-05/0.6828, allocations: 29.62 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000769/0.6836, allocations: 323.2 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.6836, allocations: 13.03 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.6837, allocations: 19.19 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.6839, allocations: 134.7 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.684, allocations: 3.938 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.684, allocations: 0.9375 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.684, allocations: 6.188 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.6842, allocations: 86.28 kB / 1.045 GB, free: 55.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007524/0.685, allocations: 0.6387 MB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.6854, allocations: 140.9 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.6855, allocations: 60.98 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.6856, allocations: 9.281 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00032/0.6859, allocations: 153.9 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.6859, allocations: 0 / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0005531/0.6865, allocations: 215.5 kB / 1.047 GB, free: 54.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.6865, allocations: 108.2 kB / 1.047 GB, free: 54.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.6867, allocations: 191.6 kB / 1.047 GB, free: 53.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.6867, allocations: 37.52 kB / 1.047 GB, free: 53.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.6868, allocations: 128.6 kB / 1.047 GB, free: 53.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.6869, allocations: 44.91 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.6869, allocations: 3.25 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.687, allocations: 329.7 kB / 1.047 GB, free: 53.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.6872, allocations: 94.77 kB / 1.048 GB, free: 53.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.6875, allocations: 169.8 kB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.6878, allocations: 232.8 kB / 1.048 GB, free: 53.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6878, allocations: 0 / 1.048 GB, free: 53.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000638/0.6885, allocations: 354 kB / 1.048 GB, free: 52.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.6885, allocations: 69.52 kB / 1.048 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.6886, allocations: 4.688 kB / 1.048 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.6886, allocations: 3.938 kB / 1.048 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.223e-05/0.6887, allocations: 17.39 kB / 1.048 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.6887, allocations: 7.562 kB / 1.048 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/0.6891, allocations: 96.28 kB / 1.048 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.6891, allocations: 15.7 kB / 1.048 GB, free: 52.86 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.6893, allocations: 138.8 kB / 1.049 GB, free: 52.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.6893, allocations: 14.7 kB / 1.049 GB, free: 52.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.6896, allocations: 103.4 kB / 1.049 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.6896, allocations: 5.562 kB / 1.049 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.6896, allocations: 5.219 kB / 1.049 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.6896, allocations: 0.75 kB / 1.049 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.6898, allocations: 239.6 kB / 1.049 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6898, allocations: 0 / 1.049 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.208e-05/0.6899, allocations: 15.3 kB / 1.049 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.6899, allocations: 6.188 kB / 1.049 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.6899, allocations: 8 kB / 1.049 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.6899, allocations: 7.375 kB / 1.049 GB, free: 52.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6899, allocations: 7.875 kB / 1.049 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.6903, allocations: 206.4 kB / 1.049 GB, free: 52.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.6903, allocations: 95.34 kB / 1.049 GB, free: 52.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.6904, allocations: 7.453 kB / 1.049 GB, free: 52.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.6905, allocations: 11.72 kB / 1.049 GB, free: 52.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.6906, allocations: 34.23 kB / 1.049 GB, free: 52.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.6906, allocations: 11.41 kB / 1.049 GB, free: 52.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001092/0.6907, allocations: 143.7 kB / 1.049 GB, free: 52.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6907, allocations: 0 / 1.049 GB, free: 52.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002537/0.691, allocations: 40.84 kB / 1.05 GB, free: 52.06 MB / 0.698 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.0001944/0.6912, allocations: 118.4 kB / 1.05 GB, free: 51.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005392/0.6917, allocations: 322.6 kB / 1.05 GB, free: 51.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6917, allocations: 0 / 1.05 GB, free: 51.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.6919, allocations: 70.89 kB / 1.05 GB, free: 51.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.6922, allocations: 36.67 kB / 1.05 GB, free: 51.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.6927, allocations: 334.2 kB / 1.05 GB, free: 51.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.6929, allocations: 0.7189 MB / 1.051 GB, free: 50.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.693, allocations: 29 kB / 1.051 GB, free: 50.78 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.6931, allocations: 19.48 kB / 1.051 GB, free: 50.78 MB / 0.698 GB Notification: Performance of SimCode: time 3.81e-07/0.6931, allocations: 0 / 1.051 GB, free: 50.78 MB / 0.698 GB Notification: Performance of Templates: time 0.006611/0.6997, allocations: 2.998 MB / 1.054 GB, free: 50.54 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)