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.Average.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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.494/2.494, allocations: 254.9 MB / 269.9 MB, free: 9.613 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.001403/0.001403, allocations: 192.9 kB / 329.5 MB, free: 1.145 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.61/2.61, allocations: 225.6 MB / 0.6001 GB, free: 2.098 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.001402/0.001402, allocations: 96.48 kB / 0.7074 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006696/0.0006698, allocations: 13.62 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2083, allocations: 109.1 MB / 0.9308 GB, free: 25.07 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001572/0.2099, allocations: 1.124 MB / 0.9319 GB, free: 23.94 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003236/0.2103, allocations: 115.7 kB / 0.932 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.2104, allocations: 4 kB / 0.932 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.2104, allocations: 3.938 kB / 0.932 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.253e-05/0.2105, allocations: 7.938 kB / 0.932 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.114e-05/0.2106, allocations: 11.98 kB / 0.932 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.492e-05/0.2107, allocations: 35.92 kB / 0.9321 GB, free: 23.76 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2108, allocations: 11.97 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.436e-05/0.2109, allocations: 15.92 kB / 0.9321 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.201e-05/0.2109, allocations: 19.92 kB / 0.9321 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.211, allocations: 0 / 0.9321 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.211, allocations: 0 / 0.9321 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.211, allocations: 11.92 kB / 0.9321 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.211, allocations: 33.7 kB / 0.9321 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.479e-05/0.2111, allocations: 23.94 kB / 0.9322 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2111, allocations: 4 kB / 0.9322 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2111, allocations: 0 / 0.9322 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.2112, allocations: 0 / 0.9322 GB, free: 23.64 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.0005949/0.2118, allocations: 367.6 kB / 0.9325 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2118, allocations: 8.031 kB / 0.9325 GB, free: 23.22 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.2119, allocations: 8.938 kB / 0.9325 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.212, allocations: 172.3 kB / 0.9327 GB, free: 23 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.212, allocations: 4.375 kB / 0.9327 GB, free: 23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.212, allocations: 384 / 0.9327 GB, free: 23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.2124, allocations: 86.16 kB / 0.9328 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2124, allocations: 4.172 kB / 0.9328 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2125, allocations: 3.938 kB / 0.9328 GB, free: 22.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2125, allocations: 0 / 0.9328 GB, free: 22.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000511/0.213, allocations: 87.92 kB / 0.9329 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.2134, allocations: 272.8 kB / 0.9331 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.2137, allocations: 70.42 kB / 0.9332 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.214, allocations: 52.91 kB / 0.9333 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.214, allocations: 4 kB / 0.9333 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2141, allocations: 34.56 kB / 0.9333 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.555e-06/0.2141, allocations: 0 / 0.9333 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.000874/0.215, allocations: 157.6 kB / 0.9334 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.215, allocations: 59.33 kB / 0.9335 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/0.2151, allocations: 109.8 kB / 0.9336 GB, free: 21.97 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.2151, allocations: 25.7 kB / 0.9336 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.2152, allocations: 88.05 kB / 0.9337 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.2152, allocations: 11.84 kB / 0.9337 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.2152, allocations: 0 / 0.9337 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.885e-05/0.2153, allocations: 314.8 kB / 0.934 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.2155, allocations: 47.95 kB / 0.9341 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.2158, allocations: 43.97 kB / 0.9341 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.2161, allocations: 39.95 kB / 0.9342 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.2161, allocations: 3.938 kB / 0.9342 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000559/0.2167, allocations: 117.6 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2167, allocations: 4 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2167, allocations: 4 kB / 0.9343 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2167, allocations: 4 kB / 0.9343 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.2169, allocations: 15.98 kB / 0.9343 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.217, allocations: 4 kB / 0.9343 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.2171, allocations: 15.97 kB / 0.9343 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.2171, allocations: 4 kB / 0.9343 GB, free: 21.22 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.414e-05/0.2172, allocations: 122.2 kB / 0.9344 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.2172, allocations: 7.906 kB / 0.9344 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.2173, allocations: 3.906 kB / 0.9344 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2173, allocations: 0 / 0.9344 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2173, allocations: 0 / 0.9344 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2173, allocations: 0 / 0.9344 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.2175, allocations: 173.6 kB / 0.9346 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2175, allocations: 0 / 0.9346 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.2177, allocations: 23.98 kB / 0.9346 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2177, allocations: 0 / 0.9346 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.2177, allocations: 0 / 0.9346 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2178, allocations: 4 kB / 0.9346 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.2178, allocations: 0 / 0.9346 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.2184, allocations: 219.7 kB / 0.9348 GB, free: 20.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.2184, allocations: 88.98 kB / 0.9349 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.2184, allocations: 4 kB / 0.9349 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.2186, allocations: 27.86 kB / 0.935 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.2187, allocations: 15.92 kB / 0.935 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.2187, allocations: 0 / 0.935 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.774e-05/0.2187, allocations: 79.28 kB / 0.9351 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2188, allocations: 0 / 0.9351 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002674/0.219, allocations: 12 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.0001302/0.2192, allocations: 111.2 kB / 0.9352 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005599/0.2197, allocations: 87.92 kB / 0.9353 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2198, allocations: 0 / 0.9353 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.22, allocations: 43.97 kB / 0.9353 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.2204, allocations: 19.81 kB / 0.9353 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.2208, allocations: 132.7 kB / 0.9354 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.2209, allocations: 0.6809 MB / 0.9361 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.939e-05/0.221, allocations: 4 kB / 0.9361 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.221, allocations: 11.44 kB / 0.9361 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of SimCode: time 1.122e-06/0.221, allocations: 0 / 0.9361 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of Templates: time 0.00313/0.2242, allocations: 0.5235 MB / 0.9366 GB, free: 18.69 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)