Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.838/1.838, allocations: 287.5 MB / 302.6 MB, free: 8.238 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.001144/0.001144, allocations: 178 kB / 371.2 MB, free: 10.76 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.715/1.715, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.00085/0.00085, allocations: 86.36 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004641, allocations: 15.11 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2596, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001444/0.2611, allocations: 1.111 MB / 0.9798 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004518/0.2616, allocations: 204.3 kB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.2617, allocations: 4 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.2617, allocations: 3.938 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.2619, allocations: 3.938 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.2621, allocations: 19.97 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.2622, allocations: 55.78 kB / 0.9801 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.2623, allocations: 8 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.2624, allocations: 15.92 kB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.2625, allocations: 19.92 kB / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.2625, allocations: 0 / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.2625, allocations: 4 kB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.2625, allocations: 7.984 kB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.2626, allocations: 33.64 kB / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.754e-05/0.2626, allocations: 31.92 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2626, allocations: 0 / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2627, allocations: 0 / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2627, allocations: 0 / 0.9802 GB, free: 26.64 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.0004615/0.2631, allocations: 363.7 kB / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2632, allocations: 8.031 kB / 0.9805 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.2632, allocations: 12.84 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.2634, allocations: 176.2 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2634, allocations: 4.375 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.2634, allocations: 4.375 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.2636, allocations: 70.16 kB / 0.9808 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2636, allocations: 192 / 0.9808 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2637, allocations: 3.938 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2637, allocations: 0 / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.2639, allocations: 59.95 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.2643, allocations: 273 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.2646, allocations: 78.47 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.679e-05/0.2647, allocations: 36.78 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.2647, allocations: 4 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.2647, allocations: 30.56 kB / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2647, allocations: 0 / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003769/0.2651, allocations: 121.5 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.2652, allocations: 55.34 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/0.2652, allocations: 117.8 kB / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.2653, allocations: 25.7 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.2653, allocations: 88.14 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.2653, allocations: 19.72 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.2653, allocations: 0 / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.2654, allocations: 318.8 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-05/0.2655, allocations: 31.97 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-05/0.2656, allocations: 27.98 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.2657, allocations: 64.83 kB / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2658, allocations: 11.92 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000208/0.266, allocations: 89.98 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.266, allocations: 12 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.266, allocations: 7.984 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.266, allocations: 0 / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.2662, allocations: 15.98 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2662, allocations: 0 / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/0.2662, allocations: 15.89 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.2663, allocations: 0 / 0.9822 GB, free: 24.31 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 6.91e-05/0.2663, allocations: 121.8 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.2664, allocations: 0 / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.2666, allocations: 101.5 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2666, allocations: 0 / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2666, allocations: 0 / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.2667, allocations: 7.984 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.2668, allocations: 173.6 kB / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2668, allocations: 0 / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.564e-05/0.2669, allocations: 11.98 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2669, allocations: 4 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2669, allocations: 7.938 kB / 0.9826 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2669, allocations: 0 / 0.9826 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2669, allocations: 0 / 0.9826 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.2673, allocations: 223.3 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.2673, allocations: 81.14 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.2673, allocations: 4.062 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.2674, allocations: 11.98 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.2675, allocations: 7.938 kB / 0.983 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.2675, allocations: 0 / 0.983 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.659e-05/0.2675, allocations: 95.58 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2675, allocations: 0 / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002023/0.2677, allocations: 4 kB / 0.9831 GB, free: 23.38 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 0.0001063/0.2678, allocations: 99.25 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.2681, allocations: 67.95 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2681, allocations: 0 / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/0.2682, allocations: 39.91 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.2685, allocations: 10.19 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.2689, allocations: 164.5 kB / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.269, allocations: 0.6848 MB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.418e-05/0.269, allocations: 3.984 kB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.2691, allocations: 11.44 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.2691, allocations: 0 / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.002701/0.2718, allocations: 0.5204 MB / 0.9846 GB, free: 21.73 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)