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.Modulo.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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") 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.491/1.491, allocations: 255.9 MB / 271.2 MB, free: 8.875 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.001378/0.001378, allocations: 185.8 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.814/1.814, allocations: 225.7 MB / 0.6016 GB, free: 15.93 MB / 442.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.0008348/0.0008346, allocations: 105.4 kB / 0.709 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004445, allocations: 12.3 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.274, allocations: 109.2 MB / 0.9328 GB, free: 24.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001819/0.2759, allocations: 1.132 MB / 0.9339 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004487/0.2764, allocations: 179.5 kB / 0.934 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.2765, allocations: 0 / 0.934 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.2765, allocations: 0 / 0.934 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.2766, allocations: 11.92 kB / 0.9341 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.2768, allocations: 12 kB / 0.9341 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.708e-05/0.2769, allocations: 43.84 kB / 0.9341 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.2771, allocations: 7.984 kB / 0.9341 GB, free: 22.69 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.827e-05/0.2772, allocations: 19.92 kB / 0.9341 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.2773, allocations: 19.92 kB / 0.9342 GB, free: 22.65 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.2773, allocations: 0 / 0.9342 GB, free: 22.65 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.2773, allocations: 4 kB / 0.9342 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.2773, allocations: 7.984 kB / 0.9342 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.2774, allocations: 41.58 kB / 0.9342 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.939e-05/0.2775, allocations: 43.84 kB / 0.9343 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.2775, allocations: 0 / 0.9343 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2775, allocations: 0 / 0.9343 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.2775, allocations: 0 / 0.9343 GB, free: 22.55 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005348/0.2781, allocations: 363.7 kB / 0.9346 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.2781, allocations: 15.98 kB / 0.9346 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.2782, allocations: 0.9375 kB / 0.9346 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.2783, allocations: 176.2 kB / 0.9348 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.2783, allocations: 384 / 0.9348 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.2783, allocations: 8.375 kB / 0.9348 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.2786, allocations: 82.14 kB / 0.9349 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2786, allocations: 192 / 0.9349 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2786, allocations: 7.938 kB / 0.9349 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2786, allocations: 0 / 0.9349 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000272/0.2789, allocations: 83.92 kB / 0.935 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.2793, allocations: 269 kB / 0.9352 GB, free: 21.42 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.2795, allocations: 70.42 kB / 0.9353 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.2797, allocations: 52.91 kB / 0.9353 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.2797, allocations: 0 / 0.9353 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.2797, allocations: 34.56 kB / 0.9354 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.575e-06/0.2798, allocations: 4 kB / 0.9354 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0005966/0.2804, allocations: 169.4 kB / 0.9355 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.2804, allocations: 51.41 kB / 0.9356 GB, free: 21 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.809e-05/0.2805, allocations: 105.8 kB / 0.9357 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.2805, allocations: 29.7 kB / 0.9357 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.2806, allocations: 92.08 kB / 0.9358 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.2806, allocations: 11.84 kB / 0.9358 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.2806, allocations: 0 / 0.9358 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.467e-05/0.2807, allocations: 318.8 kB / 0.9361 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.2808, allocations: 35.97 kB / 0.9361 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.2809, allocations: 47.95 kB / 0.9362 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.2812, allocations: 88.8 kB / 0.9363 GB, free: 20.26 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2812, allocations: 3.938 kB / 0.9363 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002819/0.2815, allocations: 125.5 kB / 0.9364 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2815, allocations: 7.906 kB / 0.9364 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2815, allocations: 0 / 0.9364 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.2816, allocations: 4 kB / 0.9364 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.2817, allocations: 23.92 kB / 0.9364 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.2817, allocations: 0 / 0.9364 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.623e-05/0.2818, allocations: 15.98 kB / 0.9364 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.2818, allocations: 0 / 0.9364 GB, free: 20.07 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.725e-05/0.2819, allocations: 126.4 kB / 0.9366 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.2819, allocations: 0 / 0.9366 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.2819, allocations: 11.91 kB / 0.9366 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2819, allocations: 0 / 0.9366 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.282, allocations: 0 / 0.9366 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.282, allocations: 0 / 0.9366 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.2821, allocations: 165.6 kB / 0.9367 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2821, allocations: 0 / 0.9367 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.764e-05/0.2822, allocations: 31.97 kB / 0.9368 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2822, allocations: 0 / 0.9368 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.2822, allocations: 336 / 0.9368 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2822, allocations: 0 / 0.9368 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2822, allocations: 0 / 0.9368 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.2826, allocations: 223.2 kB / 0.937 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.2826, allocations: 89.03 kB / 0.9371 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.2826, allocations: 0 / 0.9371 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2827, allocations: 27.92 kB / 0.9371 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.2828, allocations: 3.984 kB / 0.9371 GB, free: 19.31 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.2828, allocations: 4 kB / 0.9371 GB, free: 19.31 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.04e-05/0.2828, allocations: 87.27 kB / 0.9372 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2828, allocations: 0 / 0.9372 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002064/0.283, allocations: 8 kB / 0.9372 GB, free: 19.21 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001328/0.2832, allocations: 107.2 kB / 0.9373 GB, free: 19.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003138/0.2835, allocations: 95.91 kB / 0.9374 GB, free: 19 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2835, allocations: 0 / 0.9374 GB, free: 19 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.2837, allocations: 43.91 kB / 0.9374 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.284, allocations: 15.88 kB / 0.9374 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.2843, allocations: 136.6 kB / 0.9376 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.2844, allocations: 0.6848 MB / 0.9382 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.996e-05/0.2845, allocations: 0 / 0.9382 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.2845, allocations: 7.438 kB / 0.9382 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.2845, allocations: 4 kB / 0.9383 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of Templates: time 0.002771/0.2873, allocations: 0.5935 MB / 0.9388 GB, free: 17.48 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)