Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.137/5.137, allocations: 0.5623 GB / 0.5776 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004235/0.004235, allocations: 359.1 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.476/4.476, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002394/0.002394, allocations: 179.8 kB / 1.226 GB, free: 36 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004895, allocations: 20.67 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2108, allocations: 115.3 MB / 1.461 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001013/0.2119, allocations: 0.5259 MB / 1.462 GB, free: 6.074 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.2132, allocations: 0.993 MB / 1.463 GB, free: 5.066 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.2133, allocations: 0 / 1.463 GB, free: 5.066 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.604e-05/0.2135, allocations: 11.92 kB / 1.463 GB, free: 5.055 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.98e-05/0.2135, allocations: 19.75 kB / 1.463 GB, free: 5.035 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.2139, allocations: 67.91 kB / 1.463 GB, free: 4.969 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.2141, allocations: 103.6 kB / 1.463 GB, free: 4.867 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.2143, allocations: 33.39 kB / 1.463 GB, free: 4.836 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.2143, allocations: 43.83 kB / 1.463 GB, free: 4.793 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.28e-05/0.2144, allocations: 51.81 kB / 1.463 GB, free: 4.742 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.2145, allocations: 4 kB / 1.463 GB, free: 4.738 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.2146, allocations: 47.91 kB / 1.463 GB, free: 4.691 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.2147, allocations: 23.91 kB / 1.463 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.2147, allocations: 45.64 kB / 1.463 GB, free: 4.617 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.2149, allocations: 131.9 kB / 1.463 GB, free: 4.488 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.215, allocations: 0 / 1.463 GB, free: 4.488 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.345e-06/0.215, allocations: 0 / 1.463 GB, free: 4.488 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.215, allocations: 0 / 1.463 GB, free: 4.488 MB / 0.6042 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.001066/0.216, allocations: 486.7 kB / 1.464 GB, free: 3.965 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.2161, allocations: 12.02 kB / 1.464 GB, free: 3.953 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.2162, allocations: 15.81 kB / 1.464 GB, free: 3.938 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.2164, allocations: 212.5 kB / 1.464 GB, free: 3.691 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.2164, allocations: 0 / 1.464 GB, free: 3.691 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.2164, allocations: 4 kB / 1.464 GB, free: 3.688 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008583/0.2173, allocations: 209.5 kB / 1.464 GB, free: 3.477 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2173, allocations: 4 kB / 1.464 GB, free: 3.473 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.2174, allocations: 4 kB / 1.464 GB, free: 3.469 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.761e-05/0.2174, allocations: 8 kB / 1.464 GB, free: 3.461 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.2188, allocations: 267.7 kB / 1.465 GB, free: 3.199 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.2201, allocations: 484.3 kB / 1.465 GB, free: 2.676 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000718/0.2209, allocations: 162.5 kB / 1.465 GB, free: 2.508 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006884/0.2216, allocations: 164.7 kB / 1.465 GB, free: 2.344 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.2216, allocations: 3.984 kB / 1.465 GB, free: 2.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.2216, allocations: 38.52 kB / 1.465 GB, free: 2.293 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.685e-06/0.2217, allocations: 0 / 1.465 GB, free: 2.293 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.002223/0.2239, allocations: 481.2 kB / 1.466 GB, free: 1.816 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.2239, allocations: 55.41 kB / 1.466 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.2241, allocations: 148.7 kB / 1.466 GB, free: 1.598 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.2241, allocations: 25.7 kB / 1.466 GB, free: 1.566 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.2242, allocations: 104.4 kB / 1.466 GB, free: 1.457 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.2242, allocations: 51.36 kB / 1.466 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.2243, allocations: 4 kB / 1.466 GB, free: 1.402 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2244, allocations: 326.8 kB / 1.467 GB, free: 1.074 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007448/0.2252, allocations: 135.9 kB / 1.467 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007312/0.2259, allocations: 139.9 kB / 1.467 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007645/0.2267, allocations: 143.9 kB / 1.467 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.2267, allocations: 0 / 1.467 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001598/0.2283, allocations: 337.2 kB / 1.467 GB, free: 336 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.2284, allocations: 14.89 kB / 1.467 GB, free: 324 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2284, allocations: 0 / 1.467 GB, free: 324 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.2284, allocations: 7.953 kB / 1.467 GB, free: 316 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.2289, allocations: 47.95 kB / 1.467 GB, free: 268 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.2289, allocations: 0 / 1.467 GB, free: 268 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.2293, allocations: 55.86 kB / 1.467 GB, free: 212 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.2293, allocations: 0 / 1.467 GB, free: 212 kB / 0.6042 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.0001602/0.2295, allocations: 125.8 kB / 1.467 GB, free: 76 kB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.2296, allocations: 7.906 kB / 1.468 GB, free: 68 kB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.2296, allocations: 12.84 kB / 1.468 GB, free: 60 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.2296, allocations: 7.953 kB / 1.468 GB, free: 52 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2296, allocations: 4 kB / 1.468 GB, free: 48 kB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.469e-05/0.2297, allocations: 92.86 kB / 1.468 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.2298, allocations: 3.984 kB / 1.468 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.2302, allocations: 39.95 kB / 1.468 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/0.2303, allocations: 19.97 kB / 1.468 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001963/0.2323, allocations: 452.4 kB / 1.468 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001713/0.234, allocations: 0.4984 MB / 1.469 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008007/0.2349, allocations: 159.9 kB / 1.469 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001151/0.235, allocations: 107.2 kB / 1.469 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of Backend: time 6.51e-07/0.235, allocations: 0 / 1.469 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.2364, allocations: 264.2 kB / 1.469 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001027/0.2374, allocations: 0.73 MB / 1.47 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.007021/0.2445, allocations: 1.919 MB / 1.472 GB, free: 11.71 MB / 0.6198 GB