Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 7.0.1 (/var/lib/hudson/saved_omc/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.319/2.319, allocations: 251.3 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001357/0.001356, allocations: 183.9 kB / 325.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.505/2.505, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009768/0.0009763, allocations: 94.34 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.000468, allocations: 14.97 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.212, allocations: 106.3 MB / 0.8991 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001824/0.2138, allocations: 1.261 MB / 0.9003 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007849/0.2147, allocations: 329.2 kB / 0.9006 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.2148, allocations: 3.938 kB / 0.9006 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.863e-05/0.2149, allocations: 3.938 kB / 0.9006 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.99e-05/0.215, allocations: 19.84 kB / 0.9006 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.2153, allocations: 59.88 kB / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.2155, allocations: 107.7 kB / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.2157, allocations: 45.38 kB / 0.9008 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.009e-05/0.2158, allocations: 35.84 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.45e-05/0.2159, allocations: 47.77 kB / 0.9009 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.2159, allocations: 4 kB / 0.9009 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.216, allocations: 51.95 kB / 0.901 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.2161, allocations: 23.92 kB / 0.901 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.2161, allocations: 53.52 kB / 0.901 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.2163, allocations: 123.7 kB / 0.9012 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2164, allocations: 0 / 0.9012 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2164, allocations: 0 / 0.9012 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2164, allocations: 0 / 0.9012 GB, free: 63.24 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.001061/0.2175, allocations: 495.2 kB / 0.9016 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.2175, allocations: 12.03 kB / 0.9016 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.2176, allocations: 16.75 kB / 0.9017 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.2178, allocations: 206 kB / 0.9019 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2178, allocations: 8.375 kB / 0.9019 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.2178, allocations: 4.375 kB / 0.9019 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009101/0.2188, allocations: 210.1 kB / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.2188, allocations: 192 / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.2188, allocations: 11.94 kB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.692e-05/0.2189, allocations: 15.98 kB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.2202, allocations: 255.7 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.2216, allocations: 484.4 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007184/0.2223, allocations: 162.5 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007237/0.2231, allocations: 156.8 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.2231, allocations: 3.938 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.2232, allocations: 38.56 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 3.416e-06/0.2232, allocations: 0 / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.002182/0.2254, allocations: 479.7 kB / 0.9036 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.2255, allocations: 55.41 kB / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.2256, allocations: 154.9 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.2256, allocations: 25.7 kB / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.2257, allocations: 108.4 kB / 0.9039 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.2258, allocations: 55.25 kB / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.198e-05/0.2258, allocations: 0 / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.2259, allocations: 322.8 kB / 0.9043 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007033/0.2266, allocations: 143.9 kB / 0.9044 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006678/0.2273, allocations: 139.8 kB / 0.9046 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006736/0.2279, allocations: 147.8 kB / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.228, allocations: 0 / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001435/0.2294, allocations: 329.4 kB / 0.905 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.2295, allocations: 6.031 kB / 0.905 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.2295, allocations: 0 / 0.905 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.2295, allocations: 4 kB / 0.905 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.2299, allocations: 47.95 kB / 0.9051 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.2299, allocations: 0 / 0.9051 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.2303, allocations: 59.73 kB / 0.9051 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.2303, allocations: 0 / 0.9051 GB, free: 58.95 MB / 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.0001296/0.2305, allocations: 137.8 kB / 0.9053 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.2306, allocations: 11.81 kB / 0.9053 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.2306, allocations: 12.83 kB / 0.9053 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.302e-05/0.2307, allocations: 8 kB / 0.9053 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2307, allocations: 0 / 0.9053 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2307, allocations: 3.938 kB / 0.9053 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.231, allocations: 225.6 kB / 0.9055 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2311, allocations: 8 kB / 0.9055 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.2314, allocations: 47.95 kB / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.2315, allocations: 0 / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.2315, allocations: 4 kB / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.2315, allocations: 4 kB / 0.9056 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2315, allocations: 0 / 0.9056 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.233, allocations: 437.3 kB / 0.906 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.2331, allocations: 85.02 kB / 0.9061 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.2331, allocations: 11.91 kB / 0.9061 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.2335, allocations: 43.97 kB / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.2336, allocations: 15.91 kB / 0.9061 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.2336, allocations: 7.938 kB / 0.9061 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.804e-05/0.2337, allocations: 117.3 kB / 0.9063 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2337, allocations: 0 / 0.9063 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003737/0.2341, allocations: 43.84 kB / 0.9063 GB, free: 57.66 MB / 0.6042 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.0002551/0.2344, allocations: 119.2 kB / 0.9064 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.2359, allocations: 299.8 kB / 0.9067 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.236, allocations: 8 kB / 0.9067 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007194/0.2367, allocations: 167.8 kB / 0.9069 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.2372, allocations: 15.98 kB / 0.9069 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007223/0.238, allocations: 350 kB / 0.9072 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.2382, allocations: 0.7239 MB / 0.9079 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001482/0.2383, allocations: 19.95 kB / 0.9079 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.2384, allocations: 11.44 kB / 0.908 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of SimCode: time 9.12e-07/0.2384, allocations: 0 / 0.908 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.005646/0.2441, allocations: 1.525 MB / 0.9094 GB, free: 54.4 MB / 0.6042 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)