Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.324/1.324, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009311/0.0009312, allocations: 175 kB / 327.6 MB, free: 2.133 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.4 MB / 0.5785 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007703/0.0007702, allocations: 85.48 kB / 0.6831 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004855, allocations: 17.25 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2145, allocations: 106.3 MB / 0.9012 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.3783, allocations: 131.6 MB / 1.03 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.3785, allocations: 67.97 kB / 1.03 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003706/0.3822, allocations: 1.399 MB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3823, allocations: 0 / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.3823, allocations: 0 / 1.031 GB, free: 10.35 MB / 0.6823 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.0004435/0.3827, allocations: 371.3 kB / 1.032 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3828, allocations: 12.03 kB / 1.032 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.3828, allocations: 0.9375 kB / 1.032 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.3831, allocations: 188.5 kB / 1.032 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3831, allocations: 384 / 1.032 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.3831, allocations: 4.375 kB / 1.032 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.3833, allocations: 66.23 kB / 1.032 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3833, allocations: 7.875 kB / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3833, allocations: 0 / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3833, allocations: 0 / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.3835, allocations: 55.95 kB / 1.032 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.384, allocations: 306.4 kB / 1.032 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.3842, allocations: 58.55 kB / 1.032 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.3843, allocations: 32.94 kB / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.3843, allocations: 3.938 kB / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.3843, allocations: 30.56 kB / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3843, allocations: 0 / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0003572/0.3847, allocations: 117.6 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.3848, allocations: 55.34 kB / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.466e-05/0.3848, allocations: 109.8 kB / 1.033 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.3849, allocations: 33.7 kB / 1.033 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.3849, allocations: 84.14 kB / 1.033 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.3849, allocations: 15.8 kB / 1.033 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.385, allocations: 0 / 1.033 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3851, allocations: 318.8 kB / 1.033 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.083e-05/0.3852, allocations: 31.91 kB / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/0.3853, allocations: 31.98 kB / 1.033 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.3854, allocations: 64.75 kB / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3854, allocations: 0 / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001983/0.3856, allocations: 93.58 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3857, allocations: 6.812 kB / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3857, allocations: 4.172 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.3857, allocations: 192 / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3858, allocations: 23.94 kB / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3858, allocations: 8 kB / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.3859, allocations: 7.984 kB / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.3859, allocations: 0 / 1.033 GB, free: 8.031 MB / 0.6823 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 8.3e-05/0.386, allocations: 117.8 kB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.386, allocations: 7.984 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.3863, allocations: 97.45 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3863, allocations: 0 / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3863, allocations: 0 / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3863, allocations: 0 / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.3865, allocations: 181.5 kB / 1.034 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3865, allocations: 0 / 1.034 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.347e-05/0.3866, allocations: 11.94 kB / 1.034 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3866, allocations: 11.98 kB / 1.034 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3866, allocations: 4 kB / 1.034 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3866, allocations: 0 / 1.034 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3866, allocations: 0 / 1.034 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.387, allocations: 219.8 kB / 1.034 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.387, allocations: 81.02 kB / 1.034 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.387, allocations: 0 / 1.034 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-05/0.3871, allocations: 8.031 kB / 1.034 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.3872, allocations: 7.922 kB / 1.034 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.3872, allocations: 8.062 kB / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.343e-05/0.3872, allocations: 87.27 kB / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3872, allocations: 0 / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001987/0.3874, allocations: 12 kB / 1.034 GB, free: 7.09 MB / 0.6823 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.0001628/0.3876, allocations: 107.1 kB / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.3878, allocations: 63.95 kB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3878, allocations: 0 / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.652e-05/0.3879, allocations: 27.98 kB / 1.034 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.3882, allocations: 14.33 kB / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.3886, allocations: 168.5 kB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.3888, allocations: 0.6809 MB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.893e-05/0.3888, allocations: 4.25 kB / 1.035 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.3889, allocations: 7.438 kB / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of SimCode: time 2.11e-07/0.3889, allocations: 0 / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of Templates: time 0.002306/0.3912, allocations: 0.5067 MB / 1.036 GB, free: 5.461 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)