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.001113/0.001113, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.102/1.102, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.45/1.45, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001266/0.001266, allocations: 74.59 kB / 0.6716 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1527, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001993/0.1548, allocations: 1.412 MB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003497/0.1551, allocations: 212.2 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.1552, allocations: 4 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.1552, allocations: 3.938 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.1554, allocations: 15.84 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.774e-05/0.1554, allocations: 19.98 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.364e-05/0.1555, allocations: 51.84 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.037e-05/0.1556, allocations: 12 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.1557, allocations: 23.91 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.1557, allocations: 23.86 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1557, allocations: 4 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/0.1558, allocations: 4 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.1558, allocations: 7.984 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.1558, allocations: 19.88 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.848e-05/0.1559, allocations: 39.86 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1559, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1559, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.1559, allocations: 4 kB / 0.7853 GB, free: 11.5 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.0004001/0.1563, allocations: 371.6 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.1563, allocations: 12.03 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.1564, allocations: 30.75 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.061e-05/0.1564, allocations: 4.938 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1565, allocations: 188.2 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.1565, allocations: 4.359 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.1566, allocations: 12.3 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1567, allocations: 58.23 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.1567, allocations: 3.938 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.1567, allocations: 4 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1568, allocations: 0 / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.1569, allocations: 47.89 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.1572, allocations: 288.8 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.1575, allocations: 62.55 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.684e-05/0.1576, allocations: 24.84 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.1576, allocations: 4 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.1576, allocations: 38.56 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1576, allocations: 0 / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003191/0.1579, allocations: 101.6 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.158, allocations: 51.41 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.625e-05/0.158, allocations: 109.8 kB / 0.7867 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.1581, allocations: 29.7 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.445e-05/0.1581, allocations: 92.12 kB / 0.7868 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.1581, allocations: 15.75 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.1582, allocations: 17.72 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.513e-05/0.1582, allocations: 318.8 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.593e-05/0.1583, allocations: 23.98 kB / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.1584, allocations: 19.98 kB / 0.7871 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.1586, allocations: 64.75 kB / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1586, allocations: 0 / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001997/0.1588, allocations: 89.5 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.1588, allocations: 8 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.1588, allocations: 0 / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.1588, allocations: 0 / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.1589, allocations: 11.98 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1589, allocations: 0 / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.477e-05/0.159, allocations: 12.17 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.159, allocations: 8 kB / 0.7873 GB, free: 9.18 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 5.99e-05/0.1591, allocations: 114.2 kB / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.1591, allocations: 4 kB / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.1593, allocations: 93.39 kB / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.1593, allocations: 0 / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1593, allocations: 7.938 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1593, allocations: 0 / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.1595, allocations: 173.6 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1595, allocations: 3.938 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.811e-05/0.1596, allocations: 11.98 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1596, allocations: 0 / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1596, allocations: 4 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1596, allocations: 4 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1596, allocations: 0 / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.1599, allocations: 211.6 kB / 0.7879 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.1599, allocations: 85.05 kB / 0.788 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.16, allocations: 7.984 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.683e-05/0.16, allocations: 4 kB / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.1601, allocations: 3.984 kB / 0.788 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.1601, allocations: 4 kB / 0.788 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.244e-05/0.1601, allocations: 87.34 kB / 0.7881 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1601, allocations: 0 / 0.7881 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001956/0.1603, allocations: 8 kB / 0.7881 GB, free: 8.262 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.0004936/0.1608, allocations: 0.7475 MB / 0.7889 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001945/0.161, allocations: 55.95 kB / 0.7889 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.161, allocations: 0 / 0.7889 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.462e-05/0.1611, allocations: 23.98 kB / 0.7889 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.1614, allocations: 4 kB / 0.7889 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.1625, allocations: 1.383 MB / 0.7903 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.1627, allocations: 0.6807 MB / 0.7909 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.195e-05/0.1627, allocations: 4 kB / 0.791 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.1628, allocations: 23.42 kB / 0.791 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1628, allocations: 288 / 0.791 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2966/0.4594, allocations: 1.643 MB / 0.7926 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.483/8.943, allocations: 12.84 kB / 0.7926 GB, free: 3.688 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)