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.Add.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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.239/2.239, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.001865/0.001865, allocations: 200 kB / 329.5 MB, free: 1.156 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.612/2.612, allocations: 225.6 MB / 0.6001 GB, free: 2.242 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.0009967/0.0009964, allocations: 102 kB / 0.7074 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006816/0.0006819, allocations: 15.75 kB / 0.8242 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2308, allocations: 109.1 MB / 0.9308 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001527/0.2324, allocations: 1.132 MB / 0.9319 GB, free: 23.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003089/0.2327, allocations: 123.6 kB / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.2328, allocations: 0 / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.2328, allocations: 0 / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.446e-05/0.2329, allocations: 7.922 kB / 0.932 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.832e-05/0.233, allocations: 11.98 kB / 0.932 GB, free: 23.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.976e-05/0.2331, allocations: 43.84 kB / 0.9321 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.2332, allocations: 4 kB / 0.9321 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.108e-05/0.2332, allocations: 19.92 kB / 0.9321 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.808e-05/0.2333, allocations: 19.92 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.2333, allocations: 4 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.2334, allocations: 0 / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.2334, allocations: 11.98 kB / 0.9321 GB, free: 23.74 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.2334, allocations: 29.64 kB / 0.9322 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.596e-05/0.2335, allocations: 31.92 kB / 0.9322 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2335, allocations: 0 / 0.9322 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2335, allocations: 0 / 0.9322 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2335, allocations: 0 / 0.9322 GB, free: 23.67 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.0006024/0.2341, allocations: 371.6 kB / 0.9325 GB, free: 23.26 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2342, allocations: 12.03 kB / 0.9325 GB, free: 23.25 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.2342, allocations: 4.938 kB / 0.9326 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.946e-05/0.2343, allocations: 184.1 kB / 0.9327 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.2344, allocations: 384 / 0.9327 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.2344, allocations: 4.375 kB / 0.9327 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.2348, allocations: 86.16 kB / 0.9328 GB, free: 22.93 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2348, allocations: 192 / 0.9328 GB, free: 22.93 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.2348, allocations: 3.938 kB / 0.9328 GB, free: 22.93 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2348, allocations: 3.984 kB / 0.9328 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/0.2353, allocations: 87.92 kB / 0.9329 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.2357, allocations: 269 kB / 0.9332 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.2361, allocations: 74.41 kB / 0.9332 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.2363, allocations: 48.92 kB / 0.9333 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.2364, allocations: 4 kB / 0.9333 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.2364, allocations: 34.5 kB / 0.9333 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/0.2364, allocations: 8 kB / 0.9333 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0008799/0.2373, allocations: 161.5 kB / 0.9335 GB, free: 22.17 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.2373, allocations: 51.41 kB / 0.9335 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.962e-05/0.2374, allocations: 113.8 kB / 0.9336 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.2375, allocations: 29.64 kB / 0.9337 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.2375, allocations: 92.14 kB / 0.9338 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.2375, allocations: 7.891 kB / 0.9338 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-06/0.2375, allocations: 0 / 0.9338 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.016e-05/0.2376, allocations: 318.8 kB / 0.9341 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.2379, allocations: 35.97 kB / 0.9341 GB, free: 21.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.2382, allocations: 47.95 kB / 0.9341 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.2384, allocations: 47.91 kB / 0.9342 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2384, allocations: 0 / 0.9342 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005692/0.239, allocations: 125.5 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2391, allocations: 4 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.2391, allocations: 384 / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2391, allocations: 4 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.2393, allocations: 15.98 kB / 0.9343 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2393, allocations: 0 / 0.9343 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.2395, allocations: 27.86 kB / 0.9344 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.2395, allocations: 7.938 kB / 0.9344 GB, free: 21.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.171e-05/0.2396, allocations: 113.8 kB / 0.9345 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.2396, allocations: 4 kB / 0.9345 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.2397, allocations: 11.89 kB / 0.9345 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2397, allocations: 0 / 0.9345 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2397, allocations: 4 kB / 0.9345 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2397, allocations: 0 / 0.9345 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.2399, allocations: 177.5 kB / 0.9347 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2399, allocations: 3.984 kB / 0.9347 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.2401, allocations: 15.98 kB / 0.9347 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2401, allocations: 4 kB / 0.9347 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.2401, allocations: 0 / 0.9347 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2401, allocations: 0 / 0.9347 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2401, allocations: 0 / 0.9347 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005898/0.2407, allocations: 223.7 kB / 0.9349 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.2408, allocations: 92.94 kB / 0.935 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.2408, allocations: 4 kB / 0.935 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.241, allocations: 15.98 kB / 0.935 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.2411, allocations: 4.031 kB / 0.935 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.2411, allocations: 3.984 kB / 0.935 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.467e-05/0.2411, allocations: 91.28 kB / 0.9351 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2411, allocations: 0 / 0.9351 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000269/0.2414, allocations: 8 kB / 0.9351 GB, free: 20.36 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 (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.0001306/0.2416, allocations: 107.2 kB / 0.9352 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000602/0.2422, allocations: 91.92 kB / 0.9353 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2422, allocations: 0 / 0.9353 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.2425, allocations: 51.91 kB / 0.9353 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.2428, allocations: 11.88 kB / 0.9354 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.2432, allocations: 140.7 kB / 0.9355 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.2434, allocations: 0.6812 MB / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.644e-05/0.2434, allocations: 0 / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.2435, allocations: 11.38 kB / 0.9362 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.082e-06/0.2435, allocations: 4 kB / 0.9362 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.003125/0.2466, allocations: 0.5356 MB / 0.9367 GB, free: 18.67 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)