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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, 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.001783/0.001784, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.789/1.789, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.815/1.815, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001551/0.001552, allocations: 74.23 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3076, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.00364/0.3113, allocations: 1.824 MB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.3135, allocations: 1.245 MB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.3138, allocations: 8 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.3141, allocations: 67.2 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.3144, allocations: 63.45 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.3147, allocations: 167.6 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005015/0.3153, allocations: 477 kB / 0.7871 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004294/0.3157, allocations: 238.3 kB / 0.7874 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.3159, allocations: 167.3 kB / 0.7875 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.3161, allocations: 191 kB / 0.7877 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/0.3162, allocations: 52 kB / 0.7878 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.668e-05/0.3163, allocations: 48 kB / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.3164, allocations: 95.62 kB / 0.7879 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.3166, allocations: 198.9 kB / 0.7881 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005548/0.3172, allocations: 0.5375 MB / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3172, allocations: 4 kB / 0.7886 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3172, allocations: 0 / 0.7886 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.3172, allocations: 0 / 0.7886 GB, free: 8.074 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.001303/0.3185, allocations: 0.731 MB / 0.7893 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.3186, allocations: 8.031 kB / 0.7893 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.3187, allocations: 52.36 kB / 0.7894 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.3192, allocations: 351.8 kB / 0.7897 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.3192, allocations: 25.03 kB / 0.7897 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/0.3193, allocations: 36.38 kB / 0.7898 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006391/0.3199, allocations: 354.5 kB / 0.7901 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.32, allocations: 4.188 kB / 0.7901 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.32, allocations: 19.94 kB / 0.7901 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.32, allocations: 8 kB / 0.7901 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005128/0.3205, allocations: 250.4 kB / 0.7904 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.3224, allocations: 1.267 MB / 0.7916 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.3231, allocations: 202.7 kB / 0.7918 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.3233, allocations: 92.81 kB / 0.7919 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3233, allocations: 0 / 0.7919 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.3234, allocations: 34.56 kB / 0.7919 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.3234, allocations: 0 / 0.7919 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.000698/0.3241, allocations: 268 kB / 0.7922 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.3242, allocations: 102.8 kB / 0.7923 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.3246, allocations: 409.7 kB / 0.7927 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.3247, allocations: 29.64 kB / 0.7927 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.3249, allocations: 243.8 kB / 0.7929 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.3249, allocations: 71.11 kB / 0.793 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.325, allocations: 53.7 kB / 0.7931 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.3252, allocations: 350.7 kB / 0.7934 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.3255, allocations: 104.8 kB / 0.7935 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.3258, allocations: 177.4 kB / 0.7937 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.3262, allocations: 240.3 kB / 0.7939 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3262, allocations: 0 / 0.7939 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006107/0.3269, allocations: 329 kB / 0.7942 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3269, allocations: 4 kB / 0.7942 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3269, allocations: 4 kB / 0.7942 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.868e-05/0.3269, allocations: 0 / 0.7942 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.3272, allocations: 63.89 kB / 0.7943 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3272, allocations: 4 kB / 0.7943 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.3275, allocations: 39.67 kB / 0.7943 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.3275, allocations: 15.98 kB / 0.7943 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002197/0.3277, allocations: 188.1 kB / 0.7945 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001706/0.3279, allocations: 151 kB / 0.7947 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002337/0.3282, allocations: 196.6 kB / 0.7948 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.3282, allocations: 3.938 kB / 0.7948 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0003703/0.3285, allocations: 273 kB / 0.7951 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.3286, allocations: 8.156 kB / 0.7951 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.3286, allocations: 4 kB / 0.7951 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.609e-06/0.3286, allocations: 4 kB / 0.7951 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.3288, allocations: 51.92 kB / 0.7952 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3288, allocations: 7.984 kB / 0.7952 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.329, allocations: 27.83 kB / 0.7952 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.329, allocations: 8 kB / 0.7952 GB, free: 0.9297 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.3292, allocations: 204.7 kB / 0.7954 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.3292, allocations: 35.53 kB / 0.7954 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.012e-05/0.3293, allocations: 39.25 kB / 0.7955 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3293, allocations: 3.938 kB / 0.7955 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.3294, allocations: 4 kB / 0.7955 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.3294, allocations: 3.984 kB / 0.7955 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.3306, allocations: 0.6755 MB / 0.7961 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3306, allocations: 0 / 0.7961 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.3308, allocations: 47.91 kB / 0.7962 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.3308, allocations: 0 / 0.7962 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.3308, allocations: 4 kB / 0.7962 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3309, allocations: 0 / 0.7962 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3309, allocations: 3.938 kB / 0.7962 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000694/0.3316, allocations: 400.6 kB / 0.7966 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.582e-05/0.3317, allocations: 108.8 kB / 0.7967 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.3317, allocations: 8 kB / 0.7967 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.3319, allocations: 19.97 kB / 0.7967 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.3319, allocations: 15.94 kB / 0.7967 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.332, allocations: 7.984 kB / 0.7967 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003265/0.3323, allocations: 287.2 kB / 0.797 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.3323, allocations: 0 / 0.797 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004901/0.3328, allocations: 119.5 kB / 0.7971 GB, free: 14.85 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 (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.0001684/0.333, allocations: 103.2 kB / 0.7972 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006915/0.3337, allocations: 338.7 kB / 0.7975 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3337, allocations: 7.938 kB / 0.7976 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.3339, allocations: 75.91 kB / 0.7976 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005801/0.3344, allocations: 79.39 kB / 0.7977 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.3358, allocations: 0.6445 MB / 0.7983 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.3362, allocations: 0.7957 MB / 0.7991 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.3364, allocations: 34.95 kB / 0.7991 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.823e-05/0.3364, allocations: 27.44 kB / 0.7992 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.3364, allocations: 0 / 0.7992 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of Templates: time 0.007769/0.3442, allocations: 3.316 MB / 0.8024 GB, free: 9.418 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)