Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.PIDInitialState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",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.001077/0.001077, allocations: 99.86 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.001014/0.001014, 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.027/2.027, 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.874/1.874, allocations: 292.6 MB / 0.5497 GB, free: 14.59 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.0005546/0.0005546, allocations: 16.09 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2616, allocations: 116.3 MB / 0.7872 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.001603/0.2632, allocations: 1.397 MB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2644, allocations: 1.207 MB / 0.7898 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.2646, allocations: 8 kB / 0.7898 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.735e-05/0.2646, allocations: 27.66 kB / 0.7898 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.2649, allocations: 78.89 kB / 0.7899 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.2651, allocations: 103.9 kB / 0.79 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.2654, allocations: 277.4 kB / 0.7903 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.2657, allocations: 183 kB / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.876e-05/0.2658, allocations: 115.3 kB / 0.7905 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.2659, allocations: 127.2 kB / 0.7907 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.266, allocations: 12 kB / 0.7907 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.429e-05/0.266, allocations: 15.94 kB / 0.7907 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.2661, allocations: 51.77 kB / 0.7907 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.2661, allocations: 85.45 kB / 0.7908 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.2664, allocations: 459 kB / 0.7913 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.2664, allocations: 0 / 0.7913 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2665, allocations: 0 / 0.7913 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.2665, allocations: 4 kB / 0.7913 GB, free: 7.684 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009125/0.2674, allocations: 0.7016 MB / 0.7919 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2674, allocations: 8.031 kB / 0.792 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.164e-05/0.2675, allocations: 74.53 kB / 0.792 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.152e-05/0.2676, allocations: 59.28 kB / 0.7921 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.268, allocations: 355.2 kB / 0.7924 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.268, allocations: 29 kB / 0.7925 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/0.2681, allocations: 39.91 kB / 0.7925 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.2686, allocations: 399 kB / 0.7929 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2686, allocations: 0 / 0.7929 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.2687, allocations: 16 kB / 0.7929 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.2687, allocations: 8 kB / 0.7929 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004898/0.2692, allocations: 287.8 kB / 0.7932 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.2708, allocations: 1.343 MB / 0.7945 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.2713, allocations: 250.8 kB / 0.7947 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.2714, allocations: 0 / 0.7947 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.2714, allocations: 38.56 kB / 0.7948 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 9.11e-07/0.2714, allocations: 0 / 0.7948 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0005664/0.272, allocations: 293.3 kB / 0.795 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.272, allocations: 110.8 kB / 0.7951 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.2724, allocations: 425.5 kB / 0.7955 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.2724, allocations: 29.7 kB / 0.7956 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.2726, allocations: 251.8 kB / 0.7958 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.2726, allocations: 67.09 kB / 0.7959 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.2726, allocations: 4 kB / 0.7959 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.2727, allocations: 346.8 kB / 0.7962 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.2729, allocations: 111.9 kB / 0.7963 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.2732, allocations: 195.6 kB / 0.7965 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.2734, allocations: 138.7 kB / 0.7966 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2734, allocations: 4 kB / 0.7966 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005282/0.2739, allocations: 352.9 kB / 0.797 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002215/0.2742, allocations: 0.7862 MB / 0.7977 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2742, allocations: 4 kB / 0.7978 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.659e-06/0.2742, allocations: 4 kB / 0.7978 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.2744, allocations: 71.89 kB / 0.7978 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2745, allocations: 8 kB / 0.7978 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.2747, allocations: 59.52 kB / 0.7979 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.2747, allocations: 12 kB / 0.7979 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.62e-06/0.2747, allocations: 4 kB / 0.7979 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002896/0.275, allocations: 246.6 kB / 0.7981 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.275, allocations: 0 / 0.7981 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.007e-06/0.275, allocations: 4 kB / 0.7981 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.2752, allocations: 59.88 kB / 0.7982 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.2752, allocations: 4 kB / 0.7982 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.2754, allocations: 43.67 kB / 0.7982 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.2754, allocations: 8 kB / 0.7983 GB, free: 172 kB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001641/0.2756, allocations: 245.2 kB / 0.7985 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.2756, allocations: 35.53 kB / 0.7985 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.619e-05/0.2757, allocations: 35.61 kB / 0.7986 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2757, allocations: 7.953 kB / 0.7986 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2757, allocations: 4 kB / 0.7986 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2757, allocations: 0 / 0.7986 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008882/0.2766, allocations: 0.7135 MB / 0.7993 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2766, allocations: 0 / 0.7993 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.2768, allocations: 47.97 kB / 0.7993 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.2768, allocations: 3.953 kB / 0.7993 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.2768, allocations: 8 kB / 0.7993 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2768, allocations: 0 / 0.7993 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2768, allocations: 0 / 0.7993 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.2774, allocations: 471.9 kB / 0.7998 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.2775, allocations: 120.7 kB / 0.7999 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/0.2775, allocations: 3.938 kB / 0.7999 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.2777, allocations: 23.98 kB / 0.7999 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.2777, allocations: 11.98 kB / 0.7999 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.2778, allocations: 4 kB / 0.7999 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002646/0.278, allocations: 291.2 kB / 0.8002 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.278, allocations: 0 / 0.8002 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004175/0.2785, allocations: 135.4 kB / 0.8003 GB, free: 13.91 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,limPI.I.y) * 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 (17): * Single equations (assignments): 17 * 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.0008322/0.2793, allocations: 1.132 MB / 0.8014 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005554/0.2799, allocations: 363.4 kB / 0.8018 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2799, allocations: 0 / 0.8018 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.28, allocations: 99.89 kB / 0.8019 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.2804, allocations: 69.53 kB / 0.8019 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/0.2836, allocations: 3.353 MB / 0.8052 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.2838, allocations: 0.8116 MB / 0.806 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.284, allocations: 43.48 kB / 0.8061 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.2842, allocations: 143.4 kB / 0.8062 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of SimCode: time 2.154e-06/0.2842, allocations: 0 / 0.8062 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.196/0.4802, allocations: 6.545 MB / 0.8126 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.4805, allocations: 204 kB / 0.8128 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.312, allocations: 8.062 kB / 0.8128 GB, free: 1.137 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) Environment - environmentSimulation: