Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 111.3 kB / 15.23 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 194.4 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.633/1.633, allocations: 292.2 MB / 0.5484 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001298, allocations: 64.28 kB / 0.6708 GB, free: 26.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2258, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.003066/0.2289, allocations: 1.469 MB / 0.7841 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000439/0.2293, allocations: 229.2 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.174e-05/0.2294, allocations: 0 / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.2294, allocations: 3.938 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.2296, allocations: 8 kB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.2298, allocations: 19.92 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.937e-05/0.2299, allocations: 39.91 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.841e-05/0.23, allocations: 15.98 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.23, allocations: 15.92 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.971e-05/0.2301, allocations: 23.86 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.2301, allocations: 3.938 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.2301, allocations: 4 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.2301, allocations: 11.98 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.2302, allocations: 19.86 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.935e-05/0.2303, allocations: 43.86 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2303, allocations: 0 / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2303, allocations: 4 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.2303, allocations: 0 / 0.7846 GB, free: 12.11 MB / 0.6075 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.0005067/0.2308, allocations: 359.6 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2309, allocations: 12.03 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.2309, allocations: 8.938 kB / 0.7849 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.2311, allocations: 176.2 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.2311, allocations: 4.375 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.2311, allocations: 8.312 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.2313, allocations: 58.22 kB / 0.7851 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2314, allocations: 4.125 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.2314, allocations: 7.938 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2314, allocations: 4 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.2316, allocations: 43.95 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.2321, allocations: 277 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.2324, allocations: 62.55 kB / 0.7855 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.2325, allocations: 36.78 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.2325, allocations: 0 / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.2325, allocations: 34.56 kB / 0.7856 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2325, allocations: 3.938 kB / 0.7856 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003729/0.2329, allocations: 101.5 kB / 0.7857 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.233, allocations: 55.41 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.983e-05/0.233, allocations: 113.8 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.2331, allocations: 25.7 kB / 0.7859 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.2331, allocations: 88.14 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.2331, allocations: 15.73 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.2332, allocations: 21.66 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.2333, allocations: 310.8 kB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.2334, allocations: 35.97 kB / 0.7863 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.599e-05/0.2335, allocations: 19.98 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.2337, allocations: 56.81 kB / 0.7864 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2337, allocations: 3.938 kB / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002445/0.2339, allocations: 85.56 kB / 0.7865 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.234, allocations: 4 kB / 0.7865 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.234, allocations: 8 kB / 0.7865 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.234, allocations: 0 / 0.7865 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.357e-05/0.2341, allocations: 15.92 kB / 0.7865 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2341, allocations: 0 / 0.7865 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.124e-05/0.2342, allocations: 4 kB / 0.7865 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.2342, allocations: 8.188 kB / 0.7865 GB, free: 9.852 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.711e-05/0.2343, allocations: 114.1 kB / 0.7866 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.2343, allocations: 4 kB / 0.7866 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.2346, allocations: 93.55 kB / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2346, allocations: 0 / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.2346, allocations: 3.938 kB / 0.7867 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2346, allocations: 0 / 0.7867 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.2348, allocations: 185.7 kB / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2348, allocations: 0 / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.452e-05/0.2349, allocations: 15.92 kB / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2349, allocations: 0 / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2349, allocations: 3.984 kB / 0.7869 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2349, allocations: 4 kB / 0.7869 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2349, allocations: 4 kB / 0.7869 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.2353, allocations: 207.4 kB / 0.7871 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.2353, allocations: 81.02 kB / 0.7872 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.2353, allocations: 4.031 kB / 0.7872 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.871e-05/0.2354, allocations: 12.05 kB / 0.7872 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.2355, allocations: 3.984 kB / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.2355, allocations: 0 / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.973e-05/0.2355, allocations: 87.28 kB / 0.7873 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.502e-06/0.2356, allocations: 0 / 0.7873 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00022/0.2358, allocations: 11.94 kB / 0.7873 GB, free: 8.926 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001004/0.2359, allocations: 99.23 kB / 0.7874 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002449/0.2361, allocations: 59.95 kB / 0.7875 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2361, allocations: 0 / 0.7875 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.748e-05/0.2362, allocations: 23.98 kB / 0.7875 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.2366, allocations: 11.94 kB / 0.7875 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.2369, allocations: 164.3 kB / 0.7877 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.2372, allocations: 0.6848 MB / 0.7883 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.2372, allocations: 4 kB / 0.7883 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.2372, allocations: 7.438 kB / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of SimCode: time 1.803e-06/0.2373, allocations: 0 / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of Templates: time 0.002659/0.2399, allocations: 0.5458 MB / 0.7889 GB, free: 7.281 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)