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.Sort.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.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.367/2.367, allocations: 254.9 MB / 269.9 MB, free: 9.621 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.001421/0.001421, allocations: 185.2 kB / 329.5 MB, free: 1.129 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.494/2.494, allocations: 225.6 MB / 0.6001 GB, free: 2.121 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.001017/0.001017, allocations: 101.6 kB / 0.7074 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006938/0.000694, allocations: 14.56 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2261, 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.Sort): time 0.001757/0.2279, allocations: 1.249 MB / 0.932 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007429/0.2287, allocations: 319.2 kB / 0.9323 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.697e-05/0.2288, allocations: 4 kB / 0.9323 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.2289, allocations: 11.88 kB / 0.9323 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.229, allocations: 11.86 kB / 0.9323 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.2294, allocations: 71.84 kB / 0.9324 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.2295, allocations: 103.7 kB / 0.9325 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.2297, allocations: 37.39 kB / 0.9325 GB, free: 23.26 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.262e-05/0.2298, allocations: 39.84 kB / 0.9326 GB, free: 23.22 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.278e-05/0.2299, allocations: 43.81 kB / 0.9326 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.2299, allocations: 8 kB / 0.9326 GB, free: 23.17 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.23, allocations: 55.89 kB / 0.9327 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.2301, allocations: 19.92 kB / 0.9327 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.2301, allocations: 49.58 kB / 0.9327 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.2303, allocations: 127.7 kB / 0.9329 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2304, allocations: 7.938 kB / 0.9329 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2304, allocations: 0 / 0.9329 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.2304, allocations: 0 / 0.9329 GB, free: 22.91 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001037/0.2314, allocations: 487.2 kB / 0.9333 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.2315, allocations: 12.03 kB / 0.9334 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.2315, allocations: 12.75 kB / 0.9334 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.2317, allocations: 208.1 kB / 0.9336 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.2318, allocations: 8.375 kB / 0.9336 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.2318, allocations: 4.375 kB / 0.9336 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008856/0.2327, allocations: 221.9 kB / 0.9338 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2327, allocations: 192 / 0.9338 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.2328, allocations: 3.938 kB / 0.9338 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.777e-05/0.2328, allocations: 15.98 kB / 0.9338 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.2341, allocations: 255.8 kB / 0.9341 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.2355, allocations: 492.3 kB / 0.9345 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/0.2363, allocations: 162.5 kB / 0.9347 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000688/0.237, allocations: 160.8 kB / 0.9348 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.237, allocations: 4 kB / 0.9348 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.2371, allocations: 30.56 kB / 0.9349 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 3.706e-06/0.2371, allocations: 3.938 kB / 0.9349 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.002195/0.2393, allocations: 469.7 kB / 0.9353 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.2394, allocations: 55.41 kB / 0.9354 GB, free: 20.17 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.2395, allocations: 144.2 kB / 0.9355 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.2396, allocations: 33.7 kB / 0.9355 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.2396, allocations: 108.4 kB / 0.9356 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.359e-05/0.2397, allocations: 51.27 kB / 0.9357 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.2397, allocations: 0 / 0.9357 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.2398, allocations: 326.8 kB / 0.936 GB, free: 19.49 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006838/0.2405, allocations: 143.9 kB / 0.9361 GB, free: 19.35 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006696/0.2412, allocations: 143.8 kB / 0.9363 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/0.2419, allocations: 139.9 kB / 0.9364 GB, free: 19.07 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2419, allocations: 0 / 0.9364 GB, free: 19.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001446/0.2434, allocations: 337.3 kB / 0.9367 GB, free: 18.74 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.2434, allocations: 4 kB / 0.9367 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.2434, allocations: 0 / 0.9367 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.2435, allocations: 0 / 0.9367 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.2439, allocations: 51.95 kB / 0.9368 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2439, allocations: 0 / 0.9368 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.2443, allocations: 51.73 kB / 0.9368 GB, free: 18.63 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.2443, allocations: 12 kB / 0.9368 GB, free: 18.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.2445, allocations: 127.3 kB / 0.937 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.2445, allocations: 15.75 kB / 0.937 GB, free: 18.47 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.2446, allocations: 16.83 kB / 0.937 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.55e-05/0.2446, allocations: 12 kB / 0.937 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2446, allocations: 0 / 0.937 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2446, allocations: 7.875 kB / 0.937 GB, free: 18.44 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.245, allocations: 229.5 kB / 0.9372 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.245, allocations: 0 / 0.9372 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.2454, allocations: 51.95 kB / 0.9373 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2454, allocations: 0 / 0.9373 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.2454, allocations: 3.984 kB / 0.9373 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2454, allocations: 4 kB / 0.9373 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2454, allocations: 0 / 0.9373 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.247, allocations: 427.1 kB / 0.9377 GB, free: 17.67 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.247, allocations: 92.94 kB / 0.9378 GB, free: 17.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.2471, allocations: 0 / 0.9378 GB, free: 17.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.2474, allocations: 51.94 kB / 0.9378 GB, free: 17.51 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.617e-05/0.2476, allocations: 15.92 kB / 0.9379 GB, free: 17.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.2476, allocations: 4 kB / 0.9379 GB, free: 17.49 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.659e-05/0.2477, allocations: 114.6 kB / 0.938 GB, free: 17.38 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2477, allocations: 0 / 0.938 GB, free: 17.38 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003725/0.2481, allocations: 47.89 kB / 0.938 GB, free: 17.34 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 (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.00028/0.2484, allocations: 123.2 kB / 0.9381 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001446/0.2498, allocations: 303.8 kB / 0.9384 GB, free: 16.91 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2499, allocations: 0 / 0.9384 GB, free: 16.91 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007071/0.2506, allocations: 167.8 kB / 0.9386 GB, free: 16.75 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.2511, allocations: 16 kB / 0.9386 GB, free: 16.73 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007418/0.2518, allocations: 366.5 kB / 0.9389 GB, free: 16.35 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.2521, allocations: 0.716 MB / 0.9396 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001935/0.2523, allocations: 19.97 kB / 0.9397 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.2523, allocations: 11.44 kB / 0.9397 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of SimCode: time 1.182e-06/0.2524, allocations: 0 / 0.9397 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of Templates: time 0.005753/0.2581, allocations: 1.528 MB / 0.9412 GB, free: 14.05 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)