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.Tan.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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.429/2.429, allocations: 254.9 MB / 269.9 MB, free: 9.66 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.001417/0.001417, allocations: 198.4 kB / 329.5 MB, free: 1.188 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.553/2.553, allocations: 225.6 MB / 0.6001 GB, free: 2.258 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.00101/0.001009, allocations: 95.52 kB / 0.7074 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004878/0.000488, allocations: 16.47 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.238, allocations: 109.1 MB / 0.9308 GB, free: 25.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001527/0.2396, allocations: 1.097 MB / 0.9319 GB, free: 24.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003129/0.2399, allocations: 107.8 kB / 0.932 GB, free: 23.94 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.24, allocations: 4 kB / 0.932 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.24, allocations: 3.938 kB / 0.932 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.767e-05/0.2401, allocations: 0 / 0.932 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.2402, allocations: 7.984 kB / 0.932 GB, free: 23.92 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.678e-05/0.2403, allocations: 15.94 kB / 0.932 GB, free: 23.91 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.069e-05/0.2404, allocations: 15.92 kB / 0.932 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.021e-05/0.2405, allocations: 7.938 kB / 0.932 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.2405, allocations: 11.98 kB / 0.932 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.2406, allocations: 4 kB / 0.932 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.2406, allocations: 0 / 0.932 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.2406, allocations: 0 / 0.932 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.2406, allocations: 29.64 kB / 0.9321 GB, free: 23.83 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.754e-05/0.2407, allocations: 19.95 kB / 0.9321 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.367e-05/0.2407, allocations: 0 / 0.9321 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2407, allocations: 0 / 0.9321 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2407, allocations: 0 / 0.9321 GB, free: 23.81 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.0004198/0.2412, allocations: 339.8 kB / 0.9324 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2412, allocations: 12.03 kB / 0.9324 GB, free: 23.42 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.2413, allocations: 8.875 kB / 0.9324 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.174e-05/0.2414, allocations: 172.2 kB / 0.9326 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.2414, allocations: 4.375 kB / 0.9326 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.2414, allocations: 384 / 0.9326 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.2416, allocations: 58.23 kB / 0.9326 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2417, allocations: 4.172 kB / 0.9326 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.2417, allocations: 3.938 kB / 0.9326 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.2417, allocations: 0 / 0.9326 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.242, allocations: 43.91 kB / 0.9327 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.2423, allocations: 249 kB / 0.9329 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.2425, allocations: 46.48 kB / 0.933 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.2426, allocations: 28.91 kB / 0.933 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.2427, allocations: 4 kB / 0.933 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.2427, allocations: 30.56 kB / 0.933 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.2427, allocations: 0 / 0.933 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0005123/0.2432, allocations: 101.6 kB / 0.9331 GB, free: 22.56 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.2433, allocations: 51.41 kB / 0.9332 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.2433, allocations: 105.8 kB / 0.9333 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.2434, allocations: 25.7 kB / 0.9333 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.2434, allocations: 80.14 kB / 0.9334 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.2434, allocations: 4.031 kB / 0.9334 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.2434, allocations: 4 kB / 0.9334 GB, free: 22.26 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.082e-05/0.2435, allocations: 314.8 kB / 0.9337 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.2436, allocations: 27.91 kB / 0.9337 GB, free: 21.92 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.2438, allocations: 23.98 kB / 0.9337 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.2439, allocations: 20.05 kB / 0.9338 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.244, allocations: 0 / 0.9338 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003102/0.2443, allocations: 85.53 kB / 0.9338 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2443, allocations: 11.91 kB / 0.9338 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2443, allocations: 0 / 0.9338 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.2443, allocations: 0 / 0.9338 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.2445, allocations: 15.98 kB / 0.9339 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2445, allocations: 0 / 0.9339 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.914e-05/0.2446, allocations: 8 kB / 0.9339 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.2446, allocations: 0 / 0.9339 GB, free: 21.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.256e-05/0.2447, allocations: 117.8 kB / 0.934 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.2447, allocations: 3.906 kB / 0.934 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/0.2451, allocations: 84.72 kB / 0.9341 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.2451, allocations: 4.031 kB / 0.9341 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2451, allocations: 4 kB / 0.9341 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2451, allocations: 0 / 0.9341 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.2453, allocations: 157.6 kB / 0.9342 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2453, allocations: 3.938 kB / 0.9342 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.841e-05/0.2454, allocations: 11.98 kB / 0.9342 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2454, allocations: 0 / 0.9342 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.2455, allocations: 0 / 0.9342 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2455, allocations: 0 / 0.9342 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2455, allocations: 0 / 0.9342 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.2458, allocations: 179.5 kB / 0.9344 GB, free: 21.11 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.2458, allocations: 77.11 kB / 0.9345 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.2459, allocations: 3.984 kB / 0.9345 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.246, allocations: 16.03 kB / 0.9345 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.246, allocations: 7.922 kB / 0.9345 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.2461, allocations: 0 / 0.9345 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.784e-05/0.2461, allocations: 79.28 kB / 0.9346 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2461, allocations: 0 / 0.9346 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002595/0.2464, allocations: 8 kB / 0.9346 GB, free: 20.9 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 (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.0001242/0.2465, allocations: 107.6 kB / 0.9347 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003164/0.2468, allocations: 43.95 kB / 0.9347 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2469, allocations: 7.938 kB / 0.9347 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.247, allocations: 24.05 kB / 0.9348 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.2473, allocations: 13.94 kB / 0.9348 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.2477, allocations: 116.5 kB / 0.9349 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.2478, allocations: 0.677 MB / 0.9356 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.89e-05/0.2478, allocations: 0 / 0.9356 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.2479, allocations: 11.5 kB / 0.9356 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of SimCode: time 6.21e-07/0.2479, allocations: 0 / 0.9356 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of Templates: time 0.00264/0.2505, allocations: 353.5 kB / 0.9359 GB, free: 19.5 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)