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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.237/1.237, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009249/0.0009249, allocations: 169.6 kB / 325.8 MB, free: 2.691 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.283/1.283, allocations: 205 MB / 0.576 GB, free: 20.94 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.0006822/0.0006822, allocations: 89.66 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002809, allocations: 19.11 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1499, allocations: 105.4 MB / 0.8962 GB, free: 68.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001189/0.1511, allocations: 1.152 MB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003265/0.1514, allocations: 225 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.1515, allocations: 0 / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.1515, allocations: 0 / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.1517, allocations: 15.91 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.438e-05/0.1518, allocations: 19.98 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.685e-05/0.1519, allocations: 47.8 kB / 0.8976 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.415e-05/0.1519, allocations: 16.2 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.034e-05/0.152, allocations: 15.94 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.266e-05/0.152, allocations: 27.89 kB / 0.8977 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1521, allocations: 0 / 0.8977 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-06/0.1521, allocations: 4 kB / 0.8977 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.1521, allocations: 0 / 0.8977 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.1521, allocations: 19.86 kB / 0.8977 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.164e-05/0.1522, allocations: 35.86 kB / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1522, allocations: 4 kB / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1522, allocations: 0 / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.1522, allocations: 0 / 0.8978 GB, free: 66.42 MB / 0.6042 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.0003662/0.1526, allocations: 363.4 kB / 0.8981 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1526, allocations: 11.97 kB / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.425e-05/0.1527, allocations: 38.69 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.118e-05/0.1527, allocations: 4.938 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.047e-05/0.1528, allocations: 180.2 kB / 0.8983 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.1528, allocations: 4.375 kB / 0.8983 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.1528, allocations: 4.375 kB / 0.8983 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.153, allocations: 66.23 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.153, allocations: 3.938 kB / 0.8984 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.153, allocations: 0 / 0.8984 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.153, allocations: 4 kB / 0.8984 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.1532, allocations: 55.95 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.1535, allocations: 288.7 kB / 0.8987 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.1537, allocations: 70.61 kB / 0.8988 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.568e-05/0.1538, allocations: 36.83 kB / 0.8988 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.1539, allocations: 0 / 0.8988 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.074e-05/0.1539, allocations: 30.56 kB / 0.8989 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.1539, allocations: 0 / 0.8989 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003096/0.1542, allocations: 121.6 kB / 0.899 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.1542, allocations: 51.41 kB / 0.899 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.499e-05/0.1543, allocations: 113.8 kB / 0.8991 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.1543, allocations: 33.69 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.424e-05/0.1543, allocations: 84.14 kB / 0.8993 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.1543, allocations: 15.75 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.1544, allocations: 13.72 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.732e-05/0.1544, allocations: 314.8 kB / 0.8996 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.1545, allocations: 31.98 kB / 0.8996 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.386e-05/0.1546, allocations: 31.97 kB / 0.8996 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1547, allocations: 68.7 kB / 0.8997 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1547, allocations: 4 kB / 0.8997 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001807/0.1549, allocations: 97.94 kB / 0.8998 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.1549, allocations: 8 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.155, allocations: 0 / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.155, allocations: 0 / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.051e-05/0.1551, allocations: 23.92 kB / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1551, allocations: 3.938 kB / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.409e-05/0.1551, allocations: 11.98 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.1551, allocations: 4 kB / 0.8999 GB, free: 64.03 MB / 0.6042 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 4.325e-05/0.1552, allocations: 113.8 kB / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.1552, allocations: 3.906 kB / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.1554, allocations: 109.7 kB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1554, allocations: 0 / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1554, allocations: 0 / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1555, allocations: 0 / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.1556, allocations: 181.6 kB / 0.9003 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1556, allocations: 0 / 0.9003 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.669e-05/0.1557, allocations: 16 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1557, allocations: 0 / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.1557, allocations: 3.984 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1557, allocations: 3.984 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1557, allocations: 0 / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.156, allocations: 219.6 kB / 0.9005 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.156, allocations: 93.03 kB / 0.9006 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.156, allocations: 4 kB / 0.9006 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-05/0.1561, allocations: 4 kB / 0.9006 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.1561, allocations: 12.05 kB / 0.9006 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1561, allocations: 0 / 0.9006 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.299e-05/0.1562, allocations: 91.27 kB / 0.9007 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.1562, allocations: 0 / 0.9007 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000184/0.1564, allocations: 8 kB / 0.9007 GB, free: 63.08 MB / 0.6042 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.0004364/0.1568, allocations: 0.763 MB / 0.9014 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001874/0.157, allocations: 68.02 kB / 0.9015 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.157, allocations: 0 / 0.9015 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.446e-05/0.1571, allocations: 27.98 kB / 0.9015 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.1574, allocations: 11.45 kB / 0.9015 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.1584, allocations: 1.416 MB / 0.9029 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.677e-05/0.1585, allocations: 0.6809 MB / 0.9036 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.563e-05/0.1585, allocations: 7.984 kB / 0.9036 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.1586, allocations: 11.44 kB / 0.9036 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.1586, allocations: 4 kB / 0.9036 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.1765, allocations: 1.389 MB / 0.905 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/0.1767, allocations: 223.1 kB / 0.9052 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/1.686, allocations: 0 / 0.9052 GB, free: 58.48 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)