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.001515/0.001515, allocations: 109.4 kB / 15.69 MB, free: 128 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.00167/0.001671, allocations: 188.6 kB / 16.62 MB, free: 6.613 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.255/1.255, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.545/1.545, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001336/0.001336, allocations: 71.95 kB / 0.6718 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1963, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.002339/0.1987, allocations: 1.408 MB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004031/0.1991, allocations: 212.2 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.1991, allocations: 0 / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.1992, allocations: 7.922 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.1994, allocations: 23.86 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.896e-05/0.1995, allocations: 19.98 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.1996, allocations: 51.84 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.1997, allocations: 7.984 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.05e-05/0.1997, allocations: 23.92 kB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.173e-05/0.1998, allocations: 19.91 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1998, allocations: 7.938 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.1998, allocations: 4 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.1998, allocations: 8 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.1999, allocations: 23.86 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.902e-05/0.2, allocations: 47.84 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2, allocations: 0 / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2, allocations: 0 / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2, allocations: 0 / 0.7855 GB, free: 11.36 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.000451/0.2005, allocations: 367.6 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2005, allocations: 8.031 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.987e-05/0.2005, allocations: 34.75 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.2006, allocations: 4.938 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.2007, allocations: 184.2 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.2007, allocations: 384 / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.2007, allocations: 4.375 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.2009, allocations: 62.23 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.2009, allocations: 3.938 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.2009, allocations: 0 / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.201, allocations: 3.938 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.2011, allocations: 51.89 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.2015, allocations: 292.7 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.2018, allocations: 54.61 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.515e-05/0.2019, allocations: 36.83 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.2019, allocations: 0 / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.2019, allocations: 34.56 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2019, allocations: 0 / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003433/0.2023, allocations: 97.58 kB / 0.7866 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.2023, allocations: 63.39 kB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.344e-05/0.2024, allocations: 105.8 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.2024, allocations: 29.7 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.2025, allocations: 84.14 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.2025, allocations: 19.75 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.2025, allocations: 17.7 kB / 0.787 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.761e-05/0.2026, allocations: 314.8 kB / 0.7873 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.2027, allocations: 23.98 kB / 0.7873 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.64e-05/0.2028, allocations: 27.97 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.203, allocations: 56.77 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.203, allocations: 0 / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002079/0.2032, allocations: 93.5 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.2032, allocations: 4 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.2032, allocations: 4 kB / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2032, allocations: 0 / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.401e-05/0.2033, allocations: 15.98 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2033, allocations: 0 / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.642e-05/0.2034, allocations: 7.984 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.2034, allocations: 0 / 0.7875 GB, free: 9.059 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.822e-05/0.2035, allocations: 118.4 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.2035, allocations: 0 / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.2038, allocations: 97.58 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2038, allocations: 8.031 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2038, allocations: 192 / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2038, allocations: 384 / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.2039, allocations: 185.5 kB / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.204, allocations: 0 / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.469e-05/0.204, allocations: 15.98 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2041, allocations: 3.938 kB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.2041, allocations: 4 kB / 0.7879 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2041, allocations: 4 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2041, allocations: 3.984 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.2044, allocations: 207.4 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.2045, allocations: 81.02 kB / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.2045, allocations: 0 / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.653e-05/0.2046, allocations: 16.08 kB / 0.7882 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.2046, allocations: 4 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.2046, allocations: 0 / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.2047, allocations: 91.27 kB / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2047, allocations: 0 / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002346/0.2049, allocations: 4 kB / 0.7883 GB, free: 8.125 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.0005662/0.2055, allocations: 0.7436 MB / 0.789 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.2057, allocations: 55.95 kB / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2057, allocations: 0 / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.912e-05/0.2058, allocations: 23.98 kB / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.2061, allocations: 12.05 kB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.2074, allocations: 1.379 MB / 0.7904 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.2077, allocations: 0.6807 MB / 0.7911 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.748e-05/0.2077, allocations: 8 kB / 0.7911 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.2077, allocations: 15.44 kB / 0.7911 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.2077, allocations: 0 / 0.7911 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.2239, allocations: 1.664 MB / 0.7928 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.992/7.216, allocations: 11.09 kB / 0.7928 GB, free: 3.547 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-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)