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.Sort.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.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") 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.477/1.477, allocations: 255.9 MB / 271.2 MB, free: 8.922 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.00166/0.00166, allocations: 181.3 kB / 330.8 MB, free: 484 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.779/1.779, allocations: 225.7 MB / 0.6016 GB, free: 1.676 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.0009829/0.0009831, allocations: 103.6 kB / 0.709 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003928, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2, allocations: 109.2 MB / 0.9328 GB, free: 6.254 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001394/0.2014, allocations: 1.257 MB / 0.934 GB, free: 4.988 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0005685/0.202, allocations: 408.3 kB / 0.9344 GB, free: 4.57 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.2021, allocations: 7.938 kB / 0.9344 GB, free: 4.562 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.2022, allocations: 7.922 kB / 0.9344 GB, free: 4.555 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.2022, allocations: 15.88 kB / 0.9344 GB, free: 4.539 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.2025, allocations: 71.84 kB / 0.9345 GB, free: 4.469 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.2027, allocations: 119.6 kB / 0.9346 GB, free: 4.352 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.2028, allocations: 45.38 kB / 0.9346 GB, free: 4.301 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.2029, allocations: 35.91 kB / 0.9347 GB, free: 4.266 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/0.2029, allocations: 51.7 kB / 0.9347 GB, free: 4.215 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.203, allocations: 4 kB / 0.9347 GB, free: 4.211 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.585e-05/0.203, allocations: 59.89 kB / 0.9348 GB, free: 4.152 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.2031, allocations: 27.84 kB / 0.9348 GB, free: 4.125 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 5.092e-05/0.2031, allocations: 73.36 kB / 0.9349 GB, free: 4.047 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.2033, allocations: 175.7 kB / 0.9351 GB, free: 3.875 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2033, allocations: 0 / 0.9351 GB, free: 3.875 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2033, allocations: 0 / 0.9351 GB, free: 3.875 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2033, allocations: 0 / 0.9351 GB, free: 3.875 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006809/0.204, allocations: 490.9 kB / 0.9355 GB, free: 3.344 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2041, allocations: 15.98 kB / 0.9355 GB, free: 3.328 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.2041, allocations: 12.75 kB / 0.9355 GB, free: 3.316 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.2043, allocations: 204.1 kB / 0.9357 GB, free: 3.078 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.2043, allocations: 8.375 kB / 0.9358 GB, free: 3.07 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.2043, allocations: 4.375 kB / 0.9358 GB, free: 3.066 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004766/0.2048, allocations: 219.2 kB / 0.936 GB, free: 2.848 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2048, allocations: 4.188 kB / 0.936 GB, free: 2.844 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.2048, allocations: 7.938 kB / 0.936 GB, free: 2.836 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.2049, allocations: 15.98 kB / 0.936 GB, free: 2.82 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006321/0.2055, allocations: 251.7 kB / 0.9362 GB, free: 2.574 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007875/0.2063, allocations: 496.3 kB / 0.9367 GB, free: 2.039 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.2067, allocations: 162.5 kB / 0.9369 GB, free: 1.871 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/0.207, allocations: 156.8 kB / 0.937 GB, free: 1.715 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.2071, allocations: 0 / 0.937 GB, free: 1.715 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.2071, allocations: 34.56 kB / 0.937 GB, free: 1.672 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 1.012e-06/0.2071, allocations: 0 / 0.937 GB, free: 1.672 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.001158/0.2083, allocations: 481.3 kB / 0.9375 GB, free: 1.195 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.2083, allocations: 51.41 kB / 0.9375 GB, free: 1.133 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.477e-05/0.2084, allocations: 148.2 kB / 0.9377 GB, free: 0.9805 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.2084, allocations: 29.7 kB / 0.9377 GB, free: 0.9453 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.2084, allocations: 104.4 kB / 0.9378 GB, free: 0.8359 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.2085, allocations: 55.27 kB / 0.9379 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.2085, allocations: 0 / 0.9379 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.439e-05/0.2086, allocations: 326.8 kB / 0.9382 GB, free: 464 kB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.2089, allocations: 139.9 kB / 0.9383 GB, free: 324 kB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.2092, allocations: 135.9 kB / 0.9384 GB, free: 188 kB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000682/0.2099, allocations: 296.6 kB / 0.9387 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.2099, allocations: 0 / 0.9387 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007817/0.2107, allocations: 337.7 kB / 0.9391 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2107, allocations: 11.94 kB / 0.9391 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2107, allocations: 0 / 0.9391 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2108, allocations: 0 / 0.9391 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.211, allocations: 51.89 kB / 0.9391 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.211, allocations: 4 kB / 0.9391 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.2112, allocations: 47.89 kB / 0.9392 GB, free: 15.44 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.2112, allocations: 7.984 kB / 0.9392 GB, free: 15.43 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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 0.0001048/0.2114, allocations: 126.5 kB / 0.9393 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.2114, allocations: 11.81 kB / 0.9393 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.2114, allocations: 12.84 kB / 0.9393 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/0.2115, allocations: 19.98 kB / 0.9393 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2115, allocations: 4 kB / 0.9393 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.2115, allocations: 3.938 kB / 0.9393 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.2118, allocations: 225.5 kB / 0.9396 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2118, allocations: 0 / 0.9396 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.212, allocations: 55.89 kB / 0.9396 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.212, allocations: 4 kB / 0.9396 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2121, allocations: 0 / 0.9396 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2121, allocations: 0 / 0.9396 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2121, allocations: 0 / 0.9396 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008494/0.2129, allocations: 439 kB / 0.94 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.213, allocations: 88.95 kB / 0.9401 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.213, allocations: 0 / 0.9401 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.2132, allocations: 47.95 kB / 0.9402 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/0.2133, allocations: 23.89 kB / 0.9402 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2133, allocations: 0 / 0.9402 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.224e-05/0.2134, allocations: 117.3 kB / 0.9403 GB, free: 14.19 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2134, allocations: 0 / 0.9403 GB, free: 14.19 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002595/0.2137, allocations: 35.91 kB / 0.9403 GB, free: 14.15 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.0002168/0.2139, allocations: 123.7 kB / 0.9404 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008022/0.2147, allocations: 303.8 kB / 0.9407 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2147, allocations: 4 kB / 0.9407 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.2151, allocations: 163.8 kB / 0.9409 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.2155, allocations: 23.97 kB / 0.9409 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005997/0.2161, allocations: 376 kB / 0.9413 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.2164, allocations: 0.7239 MB / 0.942 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.368e-05/0.2165, allocations: 19.97 kB / 0.942 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.2165, allocations: 7.438 kB / 0.942 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of SimCode: time 3.2e-07/0.2165, allocations: 0 / 0.942 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of Templates: time 0.004155/0.2207, allocations: 1.565 MB / 0.9435 GB, free: 10.82 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)