Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.794/1.794, allocations: 288.4 MB / 303.4 MB, free: 8.055 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 181.6 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.4 MB / 0.6307 GB, free: 9.938 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009201/0.00092, allocations: 98.28 kB / 0.7441 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004852, allocations: 15.48 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2352, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001635/0.2369, allocations: 1.107 MB / 0.9807 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000442/0.2374, allocations: 213.2 kB / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.2375, allocations: 0 / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.2375, allocations: 0 / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.2377, allocations: 7.938 kB / 0.9809 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.2378, allocations: 27.91 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.2379, allocations: 35.92 kB / 0.981 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.913e-05/0.2381, allocations: 15.97 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.437e-05/0.2381, allocations: 15.94 kB / 0.981 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.101e-05/0.2382, allocations: 19.91 kB / 0.981 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.2382, allocations: 7.938 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-06/0.2382, allocations: 0 / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.2382, allocations: 8 kB / 0.981 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.2383, allocations: 25.7 kB / 0.981 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.669e-05/0.2383, allocations: 35.91 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2383, allocations: 0 / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2383, allocations: 3.938 kB / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.098e-06/0.2384, allocations: 0 / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004472/0.2388, allocations: 363.5 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2389, allocations: 8.031 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.2389, allocations: 7.906 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.239, allocations: 182.9 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.2391, allocations: 0 / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.2391, allocations: 4 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.2393, allocations: 69.67 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2393, allocations: 0 / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2393, allocations: 0 / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2393, allocations: 0 / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.2395, allocations: 59.94 kB / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.2399, allocations: 292.7 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.2402, allocations: 70.61 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.757e-05/0.2403, allocations: 32.83 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.2403, allocations: 4 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.2404, allocations: 30.56 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.2404, allocations: 0 / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003743/0.2407, allocations: 121.6 kB / 0.9823 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.2408, allocations: 51.41 kB / 0.9823 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.955e-05/0.2408, allocations: 117.8 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.2408, allocations: 25.7 kB / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.2409, allocations: 84.14 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.2409, allocations: 19.75 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.2409, allocations: 0 / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.338e-05/0.241, allocations: 318.8 kB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.711e-05/0.2411, allocations: 31.98 kB / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.38e-05/0.2412, allocations: 28.36 kB / 0.9829 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.382e-05/0.2413, allocations: 31.97 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2413, allocations: 0 / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000213/0.2415, allocations: 109.5 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.2415, allocations: 7.938 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2415, allocations: 0 / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2416, allocations: 0 / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.2417, allocations: 15.98 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2417, allocations: 4 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.239e-05/0.2417, allocations: 8 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.2417, allocations: 0 / 0.9831 GB, free: 23.79 MB / 0.6198 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 (5): * Single equations (assignments): 5 * Array equations: 0 * 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 5.832e-05/0.2418, allocations: 121.8 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.2418, allocations: 7.906 kB / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.2421, allocations: 101.5 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2421, allocations: 0 / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2421, allocations: 4 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2421, allocations: 0 / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.2423, allocations: 169.6 kB / 0.9835 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2423, allocations: 0 / 0.9835 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.2424, allocations: 19.92 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2424, allocations: 192 / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.2424, allocations: 4 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2424, allocations: 4 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2424, allocations: 0 / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.2427, allocations: 235.3 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.2428, allocations: 77.11 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.2428, allocations: 0 / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.2429, allocations: 16.02 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.2429, allocations: 0 / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.2429, allocations: 0 / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.755e-05/0.243, allocations: 91.27 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.243, allocations: 4.062 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001906/0.2432, allocations: 8 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * 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 9.95e-05/0.2433, allocations: 95.25 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.2435, allocations: 72.17 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2435, allocations: 0 / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.26e-05/0.2436, allocations: 31.97 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.2439, allocations: 8.984 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.2442, allocations: 176.5 kB / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.2444, allocations: 0.6887 MB / 0.985 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.969e-05/0.2444, allocations: 0 / 0.985 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.2444, allocations: 11.44 kB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of SimCode: time 1.172e-06/0.2444, allocations: 0 / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of Templates: time 0.002322/0.2468, allocations: 0.519 MB / 0.9855 GB, free: 21.2 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)