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.Tan.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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") 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.44/1.44, allocations: 255.9 MB / 271.2 MB, free: 8.883 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.001086/0.001086, allocations: 185.1 kB / 330.8 MB, free: 468 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.588/1.588, allocations: 225.7 MB / 0.6016 GB, free: 15.87 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.000769/0.0007691, allocations: 107.6 kB / 0.709 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003961, allocations: 15.86 kB / 0.8261 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2337, allocations: 109.2 MB / 0.9328 GB, free: 24.05 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001624/0.2353, allocations: 1.097 MB / 0.9338 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003049/0.2357, allocations: 115.8 kB / 0.9339 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.2357, allocations: 0 / 0.9339 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.2357, allocations: 0 / 0.9339 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.973e-05/0.2358, allocations: 4 kB / 0.934 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.236, allocations: 15.92 kB / 0.934 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.819e-05/0.236, allocations: 15.94 kB / 0.934 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2362, allocations: 11.98 kB / 0.934 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.2362, allocations: 7.984 kB / 0.934 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.045e-05/0.2363, allocations: 7.922 kB / 0.934 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.2363, allocations: 7.938 kB / 0.934 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.2363, allocations: 0 / 0.934 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.2363, allocations: 4 kB / 0.934 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.2364, allocations: 33.64 kB / 0.9341 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.283e-05/0.2365, allocations: 23.95 kB / 0.9341 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2365, allocations: 0 / 0.9341 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2365, allocations: 0 / 0.9341 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.247e-06/0.2365, allocations: 0 / 0.9341 GB, free: 22.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000413/0.2369, allocations: 331.9 kB / 0.9344 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.237, allocations: 11.98 kB / 0.9344 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.237, allocations: 12.84 kB / 0.9344 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.2371, allocations: 176.2 kB / 0.9346 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.2372, allocations: 384 / 0.9346 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.2372, allocations: 384 / 0.9346 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.2374, allocations: 54.23 kB / 0.9346 GB, free: 22.03 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.2374, allocations: 4.188 kB / 0.9346 GB, free: 22.03 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.2374, allocations: 3.938 kB / 0.9346 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2374, allocations: 0 / 0.9346 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.2376, allocations: 51.89 kB / 0.9347 GB, free: 21.97 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.2379, allocations: 241 kB / 0.9349 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.238, allocations: 46.5 kB / 0.935 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.114e-05/0.2381, allocations: 28.89 kB / 0.935 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.2382, allocations: 0 / 0.935 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.2382, allocations: 34.56 kB / 0.935 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2382, allocations: 4 kB / 0.935 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003777/0.2386, allocations: 97.58 kB / 0.9351 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.2386, allocations: 55.53 kB / 0.9352 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/0.2387, allocations: 97.86 kB / 0.9353 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.2387, allocations: 25.7 kB / 0.9353 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.2388, allocations: 88.12 kB / 0.9354 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.2388, allocations: 11.89 kB / 0.9354 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.2388, allocations: 3.938 kB / 0.9354 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.2389, allocations: 310.8 kB / 0.9357 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/0.239, allocations: 23.98 kB / 0.9357 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.998e-05/0.2391, allocations: 19.98 kB / 0.9357 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.2392, allocations: 56.81 kB / 0.9358 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2392, allocations: 0 / 0.9358 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001924/0.2394, allocations: 77.52 kB / 0.9359 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2395, allocations: 11.98 kB / 0.9359 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2395, allocations: 4.031 kB / 0.9359 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.2395, allocations: 0 / 0.9359 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.2396, allocations: 16 kB / 0.9359 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.2396, allocations: 0 / 0.9359 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.153e-05/0.2397, allocations: 11.98 kB / 0.9359 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.2397, allocations: 0 / 0.9359 GB, free: 20.61 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 (2): * Single equations (assignments): 2 * 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 7.305e-05/0.2398, allocations: 110.4 kB / 0.936 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.2398, allocations: 4 kB / 0.936 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.2401, allocations: 92.64 kB / 0.9361 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.2401, allocations: 0 / 0.9361 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.2401, allocations: 4 kB / 0.9361 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2401, allocations: 4.031 kB / 0.9361 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.2402, allocations: 157.6 kB / 0.9363 GB, free: 20.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2402, allocations: 0 / 0.9363 GB, free: 20.17 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.2403, allocations: 11.98 kB / 0.9363 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.2403, allocations: 0 / 0.9363 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.2403, allocations: 0 / 0.9363 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.2403, allocations: 0 / 0.9363 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2403, allocations: 0 / 0.9363 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.2405, allocations: 183.4 kB / 0.9364 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.2406, allocations: 77.11 kB / 0.9365 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.2406, allocations: 0 / 0.9365 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.2407, allocations: 16.2 kB / 0.9365 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.2408, allocations: 0 / 0.9365 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.2408, allocations: 3.984 kB / 0.9365 GB, free: 19.85 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.105e-05/0.2408, allocations: 83.27 kB / 0.9366 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2408, allocations: 0 / 0.9366 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002057/0.241, allocations: 4 kB / 0.9366 GB, free: 19.77 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 (2): * Single equations (assignments): 2 * 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.0001813/0.2412, allocations: 107.8 kB / 0.9367 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.2414, allocations: 47.97 kB / 0.9368 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2414, allocations: 0 / 0.9368 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.03e-05/0.2415, allocations: 27.91 kB / 0.9368 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.2419, allocations: 19.94 kB / 0.9368 GB, free: 19.56 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.2422, allocations: 108.6 kB / 0.9369 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.2424, allocations: 0.6809 MB / 0.9376 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.632e-05/0.2424, allocations: 0 / 0.9376 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.2425, allocations: 11.44 kB / 0.9376 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.2425, allocations: 0 / 0.9376 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.002364/0.2448, allocations: 370.3 kB / 0.9379 GB, free: 18.35 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)