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.Average.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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") 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.502/1.502, allocations: 255.9 MB / 271.2 MB, free: 8.863 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.001034/0.001035, allocations: 181.5 kB / 330.8 MB, free: 440 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.827/1.827, allocations: 225.7 MB / 0.6016 GB, free: 1.531 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.0007644/0.0007643, allocations: 99.58 kB / 0.709 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004314, allocations: 12 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2356, allocations: 109.2 MB / 0.9328 GB, free: 6.234 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.00144/0.2371, allocations: 1.132 MB / 0.9339 GB, free: 5.094 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0002979/0.2374, allocations: 103.8 kB / 0.934 GB, free: 4.992 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.2374, allocations: 0 / 0.934 GB, free: 4.992 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.2374, allocations: 3.984 kB / 0.934 GB, free: 4.988 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 8.029e-05/0.2375, allocations: 7.875 kB / 0.934 GB, free: 4.98 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 5.432e-05/0.2376, allocations: 19.98 kB / 0.934 GB, free: 4.961 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 7.434e-05/0.2377, allocations: 35.92 kB / 0.934 GB, free: 4.926 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.2378, allocations: 11.94 kB / 0.9341 GB, free: 4.914 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.444e-05/0.2379, allocations: 15.92 kB / 0.9341 GB, free: 4.898 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.742e-05/0.2379, allocations: 23.91 kB / 0.9341 GB, free: 4.875 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.2379, allocations: 0 / 0.9341 GB, free: 4.875 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-06/0.2379, allocations: 4 kB / 0.9341 GB, free: 4.871 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.238, allocations: 7.984 kB / 0.9341 GB, free: 4.863 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.238, allocations: 37.58 kB / 0.9341 GB, free: 4.82 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 7.639e-05/0.2381, allocations: 43.86 kB / 0.9342 GB, free: 4.777 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2381, allocations: 0 / 0.9342 GB, free: 4.777 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2381, allocations: 0 / 0.9342 GB, free: 4.777 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.676e-06/0.2381, allocations: 3.938 kB / 0.9342 GB, free: 4.773 MB / 0.573 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.0004525/0.2386, allocations: 371.7 kB / 0.9345 GB, free: 4.359 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2386, allocations: 11.98 kB / 0.9346 GB, free: 4.348 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.2387, allocations: 4.922 kB / 0.9346 GB, free: 4.344 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.406e-05/0.2388, allocations: 172.2 kB / 0.9347 GB, free: 4.137 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.2388, allocations: 384 / 0.9347 GB, free: 4.137 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.2388, allocations: 4.375 kB / 0.9347 GB, free: 4.133 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.239, allocations: 82.16 kB / 0.9348 GB, free: 4.047 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2391, allocations: 4.188 kB / 0.9348 GB, free: 4.043 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2391, allocations: 3.938 kB / 0.9348 GB, free: 4.039 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2391, allocations: 0 / 0.9348 GB, free: 4.039 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.2393, allocations: 91.92 kB / 0.9349 GB, free: 3.949 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.2397, allocations: 265 kB / 0.9352 GB, free: 3.641 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.2399, allocations: 74.41 kB / 0.9352 GB, free: 3.559 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.24, allocations: 52.92 kB / 0.9353 GB, free: 3.504 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.24, allocations: 3.984 kB / 0.9353 GB, free: 3.5 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.2401, allocations: 34.56 kB / 0.9353 GB, free: 3.457 MB / 0.573 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2401, allocations: 0 / 0.9353 GB, free: 3.457 MB / 0.573 GB Notification: Performance of matching and sorting (n=3): time 0.0004903/0.2406, allocations: 165.5 kB / 0.9355 GB, free: 3.289 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.2406, allocations: 51.41 kB / 0.9355 GB, free: 3.227 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.38e-05/0.2407, allocations: 105.8 kB / 0.9356 GB, free: 3.113 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.2407, allocations: 33.64 kB / 0.9357 GB, free: 3.074 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.2407, allocations: 84.14 kB / 0.9357 GB, free: 2.988 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.2407, allocations: 7.844 kB / 0.9357 GB, free: 2.98 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.2407, allocations: 0 / 0.9357 GB, free: 2.98 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.2408, allocations: 322.8 kB / 0.936 GB, free: 2.656 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.2409, allocations: 39.97 kB / 0.9361 GB, free: 2.617 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.2411, allocations: 47.95 kB / 0.9361 GB, free: 2.57 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.2413, allocations: 88.8 kB / 0.9362 GB, free: 2.48 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2413, allocations: 3.938 kB / 0.9362 GB, free: 2.477 MB / 0.573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002816/0.2416, allocations: 125.5 kB / 0.9363 GB, free: 2.348 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2416, allocations: 7.906 kB / 0.9363 GB, free: 2.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2417, allocations: 0 / 0.9363 GB, free: 2.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2417, allocations: 0 / 0.9363 GB, free: 2.34 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.2418, allocations: 23.92 kB / 0.9364 GB, free: 2.316 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2418, allocations: 0 / 0.9364 GB, free: 2.316 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.2419, allocations: 19.98 kB / 0.9364 GB, free: 2.297 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.2419, allocations: 0 / 0.9364 GB, free: 2.297 MB / 0.573 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.073e-05/0.242, allocations: 123 kB / 0.9365 GB, free: 2.168 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.242, allocations: 0 / 0.9365 GB, free: 2.168 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.242, allocations: 7.906 kB / 0.9365 GB, free: 2.156 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.242, allocations: 4 kB / 0.9365 GB, free: 2.152 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.242, allocations: 3.938 kB / 0.9365 GB, free: 2.148 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2421, allocations: 4 kB / 0.9365 GB, free: 2.145 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.2422, allocations: 165.6 kB / 0.9367 GB, free: 1.934 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2422, allocations: 0 / 0.9367 GB, free: 1.934 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.231e-05/0.2423, allocations: 23.97 kB / 0.9367 GB, free: 1.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2423, allocations: 0 / 0.9367 GB, free: 1.91 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2423, allocations: 4 kB / 0.9367 GB, free: 1.906 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2423, allocations: 0 / 0.9367 GB, free: 1.906 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2423, allocations: 0 / 0.9367 GB, free: 1.906 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.2426, allocations: 223.3 kB / 0.9369 GB, free: 1.672 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.2427, allocations: 85.03 kB / 0.937 GB, free: 1.57 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.2427, allocations: 4 kB / 0.937 GB, free: 1.566 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.2428, allocations: 15.98 kB / 0.937 GB, free: 1.551 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.2428, allocations: 4 kB / 0.937 GB, free: 1.547 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.2428, allocations: 0 / 0.937 GB, free: 1.547 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.855e-05/0.2429, allocations: 103.5 kB / 0.9371 GB, free: 1.445 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2429, allocations: 0 / 0.9371 GB, free: 1.445 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001856/0.2431, allocations: 4 kB / 0.9371 GB, free: 1.441 MB / 0.573 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.000119/0.2432, allocations: 107.6 kB / 0.9372 GB, free: 1.324 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003065/0.2435, allocations: 87.92 kB / 0.9373 GB, free: 1.238 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2435, allocations: 0 / 0.9373 GB, free: 1.238 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.2437, allocations: 59.97 kB / 0.9374 GB, free: 1.18 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.2439, allocations: 15.88 kB / 0.9374 GB, free: 1.164 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.2442, allocations: 130.2 kB / 0.9375 GB, free: 1.012 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.2444, allocations: 0.6848 MB / 0.9382 GB, free: 308 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.546e-05/0.2444, allocations: 3.984 kB / 0.9382 GB, free: 304 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.2444, allocations: 11.44 kB / 0.9382 GB, free: 292 kB / 0.573 GB Notification: Performance of SimCode: time 2.2e-07/0.2444, allocations: 0 / 0.9382 GB, free: 292 kB / 0.573 GB Notification: Performance of Templates: time 0.002356/0.2468, allocations: 0.5359 MB / 0.9387 GB, free: 15.75 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)