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: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008547/0.0008547, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.005153/0.005153, allocations: 171.2 kB / 16.26 MB, free: 6.676 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.177/1.177, allocations: 205.4 MB / 222.5 MB, free: 5.547 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.492/1.492, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005542/0.0005544, allocations: 12.31 kB / 0.6744 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1687, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001223/0.17, allocations: 1.134 MB / 0.7891 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003447/0.1704, allocations: 217.3 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.758e-05/0.1704, allocations: 0 / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.1704, allocations: 7.938 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.1706, allocations: 3.938 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.442e-05/0.1707, allocations: 19.98 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.051e-05/0.1708, allocations: 47.91 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.004e-05/0.1708, allocations: 11.92 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.1709, allocations: 19.92 kB / 0.7894 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.228e-05/0.1709, allocations: 19.86 kB / 0.7895 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1709, allocations: 4 kB / 0.7895 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.186e-06/0.171, allocations: 0 / 0.7895 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.171, allocations: 7.984 kB / 0.7895 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.171, allocations: 41.58 kB / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.476e-05/0.1711, allocations: 47.84 kB / 0.7896 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1711, allocations: 7.938 kB / 0.7896 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1711, allocations: 0 / 0.7896 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.1711, allocations: 0 / 0.7896 GB, free: 9.855 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.0003943/0.1715, allocations: 355.7 kB / 0.7899 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1716, allocations: 16.03 kB / 0.7899 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.1716, allocations: 30.75 kB / 0.7899 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.17e-05/0.1716, allocations: 8.828 kB / 0.79 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.1718, allocations: 184.2 kB / 0.7901 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.1718, allocations: 4.375 kB / 0.7901 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.1718, allocations: 384 / 0.7901 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.172, allocations: 66.23 kB / 0.7902 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.172, allocations: 7.938 kB / 0.7902 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.172, allocations: 0 / 0.7902 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.172, allocations: 0 / 0.7902 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.1722, allocations: 51.95 kB / 0.7903 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.1726, allocations: 284.9 kB / 0.7905 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.1728, allocations: 70.55 kB / 0.7906 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.331e-05/0.1729, allocations: 36.78 kB / 0.7906 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.1729, allocations: 4 kB / 0.7906 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.1729, allocations: 34.55 kB / 0.7907 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.173, allocations: 0 / 0.7907 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.00035/0.1733, allocations: 125.5 kB / 0.7908 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.1733, allocations: 51.41 kB / 0.7908 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.1734, allocations: 109.8 kB / 0.7909 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.1734, allocations: 25.7 kB / 0.791 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.1735, allocations: 92.12 kB / 0.791 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.1735, allocations: 15.75 kB / 0.7911 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.1735, allocations: 13.72 kB / 0.7911 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.1736, allocations: 323.2 kB / 0.7914 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/0.1737, allocations: 23.98 kB / 0.7914 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.461e-05/0.1738, allocations: 27.98 kB / 0.7914 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.174, allocations: 72.75 kB / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.174, allocations: 3.938 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002221/0.1742, allocations: 105.7 kB / 0.7916 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.1742, allocations: 4 kB / 0.7916 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.1743, allocations: 0 / 0.7916 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.363e-06/0.1743, allocations: 0 / 0.7916 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/0.1744, allocations: 15.98 kB / 0.7916 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1744, allocations: 4 kB / 0.7916 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.913e-05/0.1744, allocations: 19.89 kB / 0.7917 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.1744, allocations: 0 / 0.7917 GB, free: 7.477 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.048e-05/0.1745, allocations: 114.4 kB / 0.7918 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.1745, allocations: 4 kB / 0.7918 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.1748, allocations: 105.5 kB / 0.7919 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1748, allocations: 0 / 0.7919 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1748, allocations: 4 kB / 0.7919 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1748, allocations: 0 / 0.7919 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.175, allocations: 173.6 kB / 0.792 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.175, allocations: 0 / 0.792 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.181e-05/0.1751, allocations: 15.98 kB / 0.792 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1751, allocations: 240 / 0.792 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1751, allocations: 3.938 kB / 0.7921 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.1751, allocations: 0 / 0.7921 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1751, allocations: 4 kB / 0.7921 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.1754, allocations: 239.2 kB / 0.7923 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.1755, allocations: 77.11 kB / 0.7924 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.1755, allocations: 0 / 0.7924 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.1756, allocations: 12.02 kB / 0.7924 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.1756, allocations: 3.984 kB / 0.7924 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1756, allocations: 4 kB / 0.7924 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.1757, allocations: 83.28 kB / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1757, allocations: 0 / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001966/0.1759, allocations: 15.97 kB / 0.7925 GB, free: 6.527 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.0005633/0.1764, allocations: 0.7557 MB / 0.7932 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1767, allocations: 67.89 kB / 0.7933 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1767, allocations: 4.062 kB / 0.7933 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.862e-05/0.1768, allocations: 31.92 kB / 0.7933 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.177, allocations: 11.09 kB / 0.7933 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.1783, allocations: 1.425 MB / 0.7947 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.1785, allocations: 0.6809 MB / 0.7954 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.522e-05/0.1786, allocations: 4 kB / 0.7954 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.1786, allocations: 15.42 kB / 0.7954 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.1786, allocations: 0 / 0.7954 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9193/1.098, allocations: 1.394 MB / 0.7968 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/1.098, allocations: 225.9 kB / 0.797 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/2.58, allocations: 0 / 0.797 GB, free: 1.926 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)