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.394/1.394, allocations: 252 MB / 267.3 MB, free: 10.85 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.001101/0.001101, allocations: 182.7 kB / 327 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.635/1.635, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0006715/0.0006713, allocations: 89.44 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003257, allocations: 12.94 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.197, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001756/0.1988, allocations: 1.141 MB / 0.9021 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004511/0.1993, allocations: 216.2 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.1994, allocations: 4 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.1994, allocations: 3.938 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.1996, allocations: 15.94 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001173/0.1998, allocations: 19.97 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.1999, allocations: 43.91 kB / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.2, allocations: 8 kB / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.2, allocations: 19.86 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.2001, allocations: 15.92 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.2001, allocations: 4 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.2001, allocations: 0 / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.2002, allocations: 23.91 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.2002, allocations: 41.58 kB / 0.9024 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.2003, allocations: 35.86 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2003, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2004, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.2004, allocations: 0 / 0.9025 GB, free: 61.77 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.0004561/0.2008, allocations: 364.6 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2009, allocations: 12.03 kB / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.2009, allocations: 34.75 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.2009, allocations: 4.938 kB / 0.9029 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.2011, allocations: 176.2 kB / 0.903 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.2011, allocations: 384 / 0.903 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.2011, allocations: 8.375 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.2013, allocations: 66.16 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2014, allocations: 7.938 kB / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.2014, allocations: 4 kB / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2014, allocations: 0 / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.2016, allocations: 47.95 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.202, allocations: 300.7 kB / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.2022, allocations: 70.55 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.727e-05/0.2023, allocations: 36.84 kB / 0.9036 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.2024, allocations: 0 / 0.9036 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.2024, allocations: 34.56 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2024, allocations: 0 / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.000368/0.2028, allocations: 117.6 kB / 0.9037 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.2028, allocations: 51.41 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.586e-05/0.2029, allocations: 121.7 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.2029, allocations: 25.7 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.2029, allocations: 92.12 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.203, allocations: 7.812 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.203, allocations: 4 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.203, allocations: 318.8 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.25e-05/0.2031, allocations: 27.97 kB / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.947e-05/0.2032, allocations: 27.98 kB / 0.9044 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.2034, allocations: 72.75 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2034, allocations: 0 / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002084/0.2036, allocations: 109.5 kB / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2036, allocations: 6.188 kB / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2036, allocations: 384 / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2037, allocations: 0 / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.824e-05/0.2038, allocations: 15.98 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.2038, allocations: 3.984 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.757e-05/0.2038, allocations: 15.94 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.2038, allocations: 0 / 0.9046 GB, free: 59.4 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 5.766e-05/0.2039, allocations: 117.8 kB / 0.9047 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.2039, allocations: 11.89 kB / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.2042, allocations: 101.5 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2042, allocations: 0 / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.2042, allocations: 4 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2042, allocations: 0 / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.2044, allocations: 173.5 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2044, allocations: 0 / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.887e-05/0.2045, allocations: 15.98 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.2045, allocations: 240 / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.2045, allocations: 0 / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2045, allocations: 0 / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2045, allocations: 4 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.2048, allocations: 231.4 kB / 0.9052 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.2049, allocations: 81.02 kB / 0.9053 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.2049, allocations: 192 / 0.9053 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.205, allocations: 19.95 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.205, allocations: 7.938 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.205, allocations: 4 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.891e-05/0.2051, allocations: 87.27 kB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2051, allocations: 0 / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001983/0.2053, allocations: 12.06 kB / 0.9054 GB, free: 58.44 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.0005233/0.2058, allocations: 0.7553 MB / 0.9061 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.206, allocations: 63.89 kB / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.206, allocations: 4.062 kB / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.032e-05/0.2061, allocations: 35.97 kB / 0.9062 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.2064, allocations: 11.94 kB / 0.9063 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.2076, allocations: 1.416 MB / 0.9076 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.2077, allocations: 0.6848 MB / 0.9083 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.85e-05/0.2078, allocations: 0 / 0.9083 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.2078, allocations: 19.42 kB / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/0.2078, allocations: 0 / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.2196, allocations: 1.393 MB / 0.9097 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.2198, allocations: 229.8 kB / 0.9099 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/1.959, allocations: 0 / 0.9099 GB, free: 53.84 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)