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.001149/0.001148, allocations: 108 kB / 15.61 MB, free: 152 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.001204/0.001204, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.479/1.479, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.716/1.716, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001597/0.001597, allocations: 74.94 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2611, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.003529/0.2646, allocations: 1.832 MB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.2666, allocations: 1.245 MB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000334/0.2669, allocations: 12 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.2673, allocations: 75.19 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.2676, allocations: 59.41 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.268, allocations: 155.8 kB / 0.7868 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006298/0.2686, allocations: 484.9 kB / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000485/0.2691, allocations: 267.1 kB / 0.7875 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.2694, allocations: 171.3 kB / 0.7877 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.2696, allocations: 198.9 kB / 0.7879 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-05/0.2697, allocations: 52 kB / 0.7879 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-05/0.2698, allocations: 52 kB / 0.788 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2699, allocations: 111.7 kB / 0.7881 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.2701, allocations: 214.7 kB / 0.7883 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.2706, allocations: 0.5726 MB / 0.7888 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2706, allocations: 0 / 0.7888 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2706, allocations: 0 / 0.7888 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.2706, allocations: 0 / 0.7888 GB, free: 7.895 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.001369/0.272, allocations: 0.7522 MB / 0.7896 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.2721, allocations: 8.031 kB / 0.7896 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.211e-05/0.2722, allocations: 78.66 kB / 0.7896 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.742e-05/0.2723, allocations: 56.38 kB / 0.7897 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.2727, allocations: 368.2 kB / 0.79 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.2728, allocations: 29.38 kB / 0.7901 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/0.2728, allocations: 40.36 kB / 0.7901 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.2734, allocations: 395.5 kB / 0.7905 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.2734, allocations: 11.86 kB / 0.7905 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.2735, allocations: 20 kB / 0.7905 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.2735, allocations: 8 kB / 0.7905 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005049/0.274, allocations: 267.9 kB / 0.7908 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.2758, allocations: 1.327 MB / 0.7921 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/0.2764, allocations: 221.5 kB / 0.7923 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.2766, allocations: 108.8 kB / 0.7924 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.2767, allocations: 4 kB / 0.7924 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.2767, allocations: 34.5 kB / 0.7924 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.893e-06/0.2767, allocations: 0 / 0.7924 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0006177/0.2773, allocations: 281 kB / 0.7927 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.2774, allocations: 106.8 kB / 0.7928 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.2778, allocations: 413.6 kB / 0.7932 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.2779, allocations: 33.69 kB / 0.7932 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.278, allocations: 255.7 kB / 0.7935 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.2781, allocations: 63.09 kB / 0.7935 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.523e-05/0.2782, allocations: 61.61 kB / 0.7936 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2783, allocations: 354.8 kB / 0.7939 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.2785, allocations: 104.8 kB / 0.794 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.2788, allocations: 207.5 kB / 0.7942 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/0.2792, allocations: 250.5 kB / 0.7945 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2793, allocations: 7.938 kB / 0.7945 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005735/0.2798, allocations: 348.9 kB / 0.7948 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.2799, allocations: 8 kB / 0.7948 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2799, allocations: 0 / 0.7948 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.2799, allocations: 7.938 kB / 0.7948 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.2802, allocations: 63.91 kB / 0.7949 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2802, allocations: 3.984 kB / 0.7949 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.2804, allocations: 47.73 kB / 0.7949 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.2804, allocations: 23.98 kB / 0.795 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002042/0.2807, allocations: 192.8 kB / 0.7951 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001809/0.2808, allocations: 172.8 kB / 0.7953 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002437/0.2811, allocations: 222.2 kB / 0.7955 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.2811, allocations: 4 kB / 0.7955 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0003767/0.2815, allocations: 289 kB / 0.7958 GB, free: 344 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.295e-06/0.2815, allocations: 4 kB / 0.7958 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2815, allocations: 4 kB / 0.7958 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-06/0.2815, allocations: 4 kB / 0.7958 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.2817, allocations: 55.92 kB / 0.7959 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2817, allocations: 7.938 kB / 0.7959 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.2819, allocations: 36.05 kB / 0.7959 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.282, allocations: 19.98 kB / 0.7959 GB, free: 212 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.2821, allocations: 196.2 kB / 0.7961 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.259e-05/0.2822, allocations: 35.58 kB / 0.7961 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.894e-05/0.2822, allocations: 39.56 kB / 0.7962 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.2822, allocations: 3.938 kB / 0.7962 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2823, allocations: 3.938 kB / 0.7962 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2823, allocations: 7.984 kB / 0.7962 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009996/0.2833, allocations: 0.6911 MB / 0.7969 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2833, allocations: 4 kB / 0.7969 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.2835, allocations: 39.91 kB / 0.7969 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2835, allocations: 0 / 0.7969 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.2835, allocations: 12.06 kB / 0.7969 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2835, allocations: 0 / 0.7969 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2835, allocations: 0 / 0.7969 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006311/0.2842, allocations: 419.2 kB / 0.7973 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.122e-05/0.2843, allocations: 120.7 kB / 0.7974 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.2843, allocations: 4 kB / 0.7974 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.2845, allocations: 15.98 kB / 0.7975 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.2845, allocations: 11.98 kB / 0.7975 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.2845, allocations: 8 kB / 0.7975 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003008/0.2848, allocations: 299.1 kB / 0.7978 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2849, allocations: 0 / 0.7978 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004911/0.2854, allocations: 135.4 kB / 0.7979 GB, free: 14.08 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 (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.0009994/0.2864, allocations: 0.9567 MB / 0.7988 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007252/0.2871, allocations: 360.4 kB / 0.7992 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2871, allocations: 4.125 kB / 0.7992 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.2873, allocations: 83.89 kB / 0.7993 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005842/0.2879, allocations: 68.52 kB / 0.7993 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004404/0.2923, allocations: 3.423 MB / 0.8027 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.2927, allocations: 0.8074 MB / 0.8034 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.2929, allocations: 39.27 kB / 0.8035 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.2931, allocations: 143.4 kB / 0.8036 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of SimCode: time 1.913e-06/0.2931, allocations: 0 / 0.8036 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.3187, allocations: 6.695 MB / 0.8102 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/8.027, allocations: 19.8 kB / 0.8102 GB, free: 1.453 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)