Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",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.001198/0.001203, allocations: 100 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.001296/0.001296, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.857/1.857, 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.0005609/0.0005609, allocations: 15.19 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2936, allocations: 116.3 MB / 0.7872 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.002052/0.2957, allocations: 1.393 MB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.2973, allocations: 1.211 MB / 0.7898 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.2975, allocations: 8 kB / 0.7898 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.792e-05/0.2976, allocations: 27.66 kB / 0.7898 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.2979, allocations: 71.64 kB / 0.7899 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.2982, allocations: 111.9 kB / 0.79 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.2986, allocations: 269.5 kB / 0.7903 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.2989, allocations: 170 kB / 0.7904 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.299, allocations: 103.4 kB / 0.7905 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.2992, allocations: 131.2 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.2992, allocations: 12 kB / 0.7907 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.979e-05/0.2993, allocations: 12 kB / 0.7907 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.2993, allocations: 55.69 kB / 0.7907 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.2994, allocations: 81.52 kB / 0.7908 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.2998, allocations: 419.1 kB / 0.7912 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.2998, allocations: 0 / 0.7912 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2998, allocations: 0 / 0.7912 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.2998, allocations: 4 kB / 0.7912 GB, free: 7.762 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001099/0.3009, allocations: 0.6779 MB / 0.7919 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.301, allocations: 15.97 kB / 0.7919 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.095e-05/0.3011, allocations: 70.53 kB / 0.7919 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.959e-05/0.3011, allocations: 47.44 kB / 0.792 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.3016, allocations: 342.8 kB / 0.7923 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.3016, allocations: 28.66 kB / 0.7923 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.3017, allocations: 35.91 kB / 0.7924 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005961/0.3023, allocations: 357.9 kB / 0.7927 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3023, allocations: 0 / 0.7927 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.3024, allocations: 19.94 kB / 0.7927 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.3024, allocations: 8 kB / 0.7927 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005124/0.3029, allocations: 258.5 kB / 0.793 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.3047, allocations: 1.287 MB / 0.7942 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005024/0.3052, allocations: 218.7 kB / 0.7945 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.3052, allocations: 0 / 0.7945 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.3053, allocations: 38.56 kB / 0.7945 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.3053, allocations: 0 / 0.7945 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.000625/0.3059, allocations: 280.4 kB / 0.7948 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.306, allocations: 114.7 kB / 0.7949 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/0.3064, allocations: 405.6 kB / 0.7953 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.3065, allocations: 33.7 kB / 0.7953 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.3066, allocations: 235.9 kB / 0.7955 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.3067, allocations: 67.17 kB / 0.7956 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.3067, allocations: 4 kB / 0.7956 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3068, allocations: 346.8 kB / 0.7959 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.3071, allocations: 103.9 kB / 0.796 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/0.3074, allocations: 181.4 kB / 0.7962 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.3076, allocations: 127.8 kB / 0.7963 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3076, allocations: 0 / 0.7963 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005535/0.3082, allocations: 336.9 kB / 0.7966 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002587/0.3084, allocations: 0.6192 MB / 0.7972 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3085, allocations: 0 / 0.7972 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3085, allocations: 4.047 kB / 0.7972 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.3087, allocations: 63.89 kB / 0.7973 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3087, allocations: 7.984 kB / 0.7973 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.309, allocations: 63.56 kB / 0.7974 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.309, allocations: 15.95 kB / 0.7974 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-06/0.309, allocations: 4 kB / 0.7974 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003014/0.3093, allocations: 211.8 kB / 0.7976 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.3093, allocations: 4.156 kB / 0.7976 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.558e-06/0.3094, allocations: 4 kB / 0.7976 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.3095, allocations: 51.92 kB / 0.7976 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3095, allocations: 7.984 kB / 0.7977 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.3097, allocations: 39.69 kB / 0.7977 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.3097, allocations: 11.98 kB / 0.7977 GB, free: 0.7578 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 0.0001849/0.3099, allocations: 225.1 kB / 0.7979 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.31, allocations: 43.48 kB / 0.798 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.242e-05/0.3101, allocations: 39.25 kB / 0.798 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3101, allocations: 0 / 0.798 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3101, allocations: 0 / 0.798 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3101, allocations: 0 / 0.798 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.3112, allocations: 0.7106 MB / 0.7987 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3112, allocations: 0 / 0.7987 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.3114, allocations: 40.03 kB / 0.7987 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3114, allocations: 8 kB / 0.7987 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3115, allocations: 0 / 0.7987 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3115, allocations: 0 / 0.7987 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3115, allocations: 4 kB / 0.7987 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006368/0.3121, allocations: 444 kB / 0.7992 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.323e-05/0.3122, allocations: 116.7 kB / 0.7993 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.3123, allocations: 4 kB / 0.7993 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.3124, allocations: 23.98 kB / 0.7993 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.3125, allocations: 7.984 kB / 0.7993 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3125, allocations: 15.89 kB / 0.7993 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002912/0.3128, allocations: 287.2 kB / 0.7996 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3128, allocations: 4 kB / 0.7996 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004209/0.3132, allocations: 111.6 kB / 0.7997 GB, free: 14.58 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.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 (15): * Single equations (assignments): 15 * 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.0009685/0.3142, allocations: 1.12 MB / 0.8008 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006146/0.3148, allocations: 342.9 kB / 0.8011 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3148, allocations: 0 / 0.8011 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.315, allocations: 92.27 kB / 0.8012 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.3155, allocations: 76.03 kB / 0.8013 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.3191, allocations: 2.98 MB / 0.8042 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.3194, allocations: 0.804 MB / 0.805 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.3196, allocations: 38.95 kB / 0.805 GB, free: 9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.3198, allocations: 131.4 kB / 0.8051 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.3198, allocations: 0 / 0.8051 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2679/0.5876, allocations: 6.385 MB / 0.8114 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.5878, allocations: 216 kB / 0.8116 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.348, allocations: 0 / 0.8116 GB, free: 2.449 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) Environment - environmentSimulation: