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.001169/0.001169, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001367/0.001367, allocations: 193.2 kB / 16.25 MB, free: 6.625 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.699/1.699, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.828/1.828, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001416/0.001416, allocations: 69.72 kB / 0.671 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3136, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.004437/0.3181, allocations: 1.87 MB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002349/0.3205, allocations: 1.23 MB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.3209, allocations: 8 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.3212, allocations: 47.52 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.3215, allocations: 47.64 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.3218, allocations: 131.9 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004864/0.3223, allocations: 484.9 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003828/0.3227, allocations: 234.3 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.3229, allocations: 163.3 kB / 0.787 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.3231, allocations: 187 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.762e-05/0.3232, allocations: 52 kB / 0.7872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.827e-05/0.3233, allocations: 52 kB / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.636e-05/0.3234, allocations: 99.67 kB / 0.7873 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.3235, allocations: 202.8 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005145/0.3241, allocations: 0.5336 MB / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.3241, allocations: 0 / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.805e-06/0.3241, allocations: 0 / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.3241, allocations: 0 / 0.788 GB, free: 8.535 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.001295/0.3254, allocations: 0.717 MB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.3255, allocations: 8.031 kB / 0.7888 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.3256, allocations: 52.31 kB / 0.7888 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.3261, allocations: 363.8 kB / 0.7892 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.3261, allocations: 33.03 kB / 0.7892 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.471e-05/0.3262, allocations: 36.38 kB / 0.7892 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006031/0.3268, allocations: 354.5 kB / 0.7896 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3268, allocations: 192 / 0.7896 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.3269, allocations: 15.94 kB / 0.7896 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.3269, allocations: 8 kB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/0.3274, allocations: 258.4 kB / 0.7898 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.3293, allocations: 1.255 MB / 0.7911 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.3298, allocations: 190.8 kB / 0.7912 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.33, allocations: 99 kB / 0.7913 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.3301, allocations: 7.938 kB / 0.7913 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.3301, allocations: 38.56 kB / 0.7914 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.3301, allocations: 0 / 0.7914 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0006482/0.3308, allocations: 261 kB / 0.7916 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.3309, allocations: 102.8 kB / 0.7917 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.3314, allocations: 409.7 kB / 0.7921 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.3314, allocations: 29.7 kB / 0.7921 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.3317, allocations: 247.8 kB / 0.7924 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.3317, allocations: 63.12 kB / 0.7924 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.3319, allocations: 53.7 kB / 0.7925 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.3321, allocations: 346.7 kB / 0.7928 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.3323, allocations: 112.8 kB / 0.7929 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.3326, allocations: 177.3 kB / 0.7931 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.333, allocations: 240.6 kB / 0.7933 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.333, allocations: 0 / 0.7933 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006242/0.3337, allocations: 324.9 kB / 0.7936 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.3337, allocations: 4 kB / 0.7936 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.3337, allocations: 4 kB / 0.7936 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.3337, allocations: 3.938 kB / 0.7936 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.334, allocations: 63.95 kB / 0.7937 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.334, allocations: 8.094 kB / 0.7937 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.3343, allocations: 43.67 kB / 0.7938 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.3343, allocations: 11.98 kB / 0.7938 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002553/0.3346, allocations: 188.1 kB / 0.7939 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001975/0.3348, allocations: 154.2 kB / 0.7941 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002639/0.335, allocations: 188.6 kB / 0.7943 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.399e-06/0.335, allocations: 3.938 kB / 0.7943 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0004039/0.3355, allocations: 277 kB / 0.7945 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.3355, allocations: 8 kB / 0.7945 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.3355, allocations: 0 / 0.7945 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3355, allocations: 4 kB / 0.7946 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.3357, allocations: 47.92 kB / 0.7946 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3357, allocations: 4 kB / 0.7946 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.3359, allocations: 35.81 kB / 0.7946 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.3359, allocations: 8.156 kB / 0.7946 GB, free: 1.395 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.0001555/0.3361, allocations: 208.1 kB / 0.7948 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.627e-05/0.3361, allocations: 31.53 kB / 0.7949 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.068e-05/0.3362, allocations: 39.25 kB / 0.7949 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.3362, allocations: 7.938 kB / 0.7949 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3362, allocations: 4.281 kB / 0.7949 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.3362, allocations: 7.969 kB / 0.7949 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.3374, allocations: 0.6833 MB / 0.7956 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3375, allocations: 0 / 0.7956 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.3376, allocations: 39.91 kB / 0.7956 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3377, allocations: 0 / 0.7956 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.3377, allocations: 8 kB / 0.7956 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3377, allocations: 0 / 0.7956 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3377, allocations: 8 kB / 0.7956 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006543/0.3384, allocations: 388.6 kB / 0.796 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.98e-05/0.3385, allocations: 116.8 kB / 0.7961 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.3385, allocations: 7.938 kB / 0.7961 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.3387, allocations: 19.97 kB / 0.7962 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.3387, allocations: 11.94 kB / 0.7962 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.3388, allocations: 11.98 kB / 0.7962 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003932/0.3392, allocations: 287.2 kB / 0.7965 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3392, allocations: 0 / 0.7965 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004724/0.3396, allocations: 119.5 kB / 0.7966 GB, free: 15.31 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.0002276/0.3399, allocations: 106.9 kB / 0.7967 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006881/0.3406, allocations: 338.4 kB / 0.797 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3406, allocations: 0.625 kB / 0.797 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.3408, allocations: 79.89 kB / 0.7971 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007024/0.3415, allocations: 77.09 kB / 0.7971 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.3429, allocations: 0.7823 MB / 0.7979 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.3434, allocations: 0.7918 MB / 0.7987 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001577/0.3435, allocations: 34.95 kB / 0.7987 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.492e-05/0.3436, allocations: 31.44 kB / 0.7987 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.3436, allocations: 3.938 kB / 0.7987 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of Templates: time 0.007514/0.3512, allocations: 3.285 MB / 0.802 GB, free: 9.77 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)