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.001551/0.001551, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00146/0.00146, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.904/1.904, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0006505/0.0006507, allocations: 17.38 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3247, allocations: 116.3 MB / 0.7873 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001574/0.3264, allocations: 1.111 MB / 0.7883 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004195/0.3268, allocations: 213.5 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.373e-05/0.3269, allocations: 4 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.3269, allocations: 0 / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.3271, allocations: 3.984 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.519e-05/0.3272, allocations: 27.84 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.3273, allocations: 27.97 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.3274, allocations: 15.98 kB / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.82e-05/0.3275, allocations: 19.92 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.354e-05/0.3275, allocations: 11.92 kB / 0.7887 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.3276, allocations: 0 / 0.7887 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.3276, allocations: 4 kB / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.3276, allocations: 11.92 kB / 0.7887 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.3276, allocations: 29.7 kB / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.5e-05/0.3277, allocations: 31.92 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3277, allocations: 4 kB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3277, allocations: 0 / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3277, allocations: 4 kB / 0.7887 GB, free: 10.35 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.0004972/0.3282, allocations: 355.5 kB / 0.7891 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3283, allocations: 8.031 kB / 0.7891 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.3283, allocations: 38.56 kB / 0.7891 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.3284, allocations: 7.906 kB / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.3286, allocations: 178.9 kB / 0.7893 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3286, allocations: 4 kB / 0.7893 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.3286, allocations: 4 kB / 0.7893 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.3288, allocations: 65.66 kB / 0.7894 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3288, allocations: 0 / 0.7894 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.3288, allocations: 4 kB / 0.7894 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3288, allocations: 8 kB / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.329, allocations: 51.94 kB / 0.7894 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.3295, allocations: 288.8 kB / 0.7897 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.3298, allocations: 74.53 kB / 0.7898 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.3298, allocations: 0 / 0.7898 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.3298, allocations: 30.56 kB / 0.7898 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.3299, allocations: 0 / 0.7898 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004272/0.3303, allocations: 121.6 kB / 0.7899 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.3304, allocations: 51.41 kB / 0.79 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.3305, allocations: 117.8 kB / 0.7901 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3305, allocations: 29.7 kB / 0.7901 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.3306, allocations: 95.97 kB / 0.7902 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.3306, allocations: 11.84 kB / 0.7902 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.3306, allocations: 0 / 0.7902 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3308, allocations: 326.8 kB / 0.7905 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.3309, allocations: 27.98 kB / 0.7905 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.939e-05/0.331, allocations: 31.97 kB / 0.7906 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.3311, allocations: 27.98 kB / 0.7906 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3311, allocations: 0 / 0.7906 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002413/0.3314, allocations: 105.5 kB / 0.7907 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3314, allocations: 4 kB / 0.7907 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3314, allocations: 0 / 0.7907 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3314, allocations: 4 kB / 0.7907 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.964e-05/0.3315, allocations: 15.98 kB / 0.7907 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3315, allocations: 0 / 0.7907 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.626e-05/0.3316, allocations: 8 kB / 0.7907 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3316, allocations: 8 kB / 0.7907 GB, free: 8.062 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.655e-05/0.3317, allocations: 113.8 kB / 0.7909 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.3317, allocations: 7.906 kB / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.332, allocations: 101.5 kB / 0.791 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.332, allocations: 4 kB / 0.791 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.332, allocations: 0 / 0.791 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.332, allocations: 0 / 0.791 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.3322, allocations: 173.6 kB / 0.7911 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3322, allocations: 0 / 0.7911 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.882e-05/0.3323, allocations: 15.98 kB / 0.7911 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3323, allocations: 0 / 0.7911 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3323, allocations: 4 kB / 0.7911 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3324, allocations: 4 kB / 0.7911 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3324, allocations: 384 / 0.7911 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.3327, allocations: 223.5 kB / 0.7914 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.3328, allocations: 85.11 kB / 0.7914 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.3328, allocations: 0 / 0.7914 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.673e-05/0.3329, allocations: 15.95 kB / 0.7915 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.333, allocations: 3.938 kB / 0.7915 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.333, allocations: 4 kB / 0.7915 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.333, allocations: 91.33 kB / 0.7916 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.333, allocations: 3.938 kB / 0.7916 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002131/0.3333, allocations: 8 kB / 0.7916 GB, free: 7.113 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005969/0.3339, allocations: 0.7556 MB / 0.7923 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.3341, allocations: 72 kB / 0.7924 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3341, allocations: 0 / 0.7924 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.3342, allocations: 35.95 kB / 0.7924 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.3345, allocations: 4 kB / 0.7924 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009741/0.3355, allocations: 0.526 MB / 0.7929 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.3357, allocations: 0.6848 MB / 0.7936 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.884e-05/0.3358, allocations: 4 kB / 0.7936 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.3358, allocations: 15.44 kB / 0.7936 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3358, allocations: 0 / 0.7936 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.3477, allocations: 1.372 MB / 0.795 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.348, allocations: 198.9 kB / 0.7951 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.181, allocations: 0 / 0.7951 GB, free: 3.477 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/linux/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) Environment - environmentSimulation: