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.001604/0.001604, allocations: 101.4 kB / 15.7 MB, free: 24 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.002033/0.002033, allocations: 192.2 kB / 16.64 MB, free: 6.445 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.595/1.595, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.919/1.919, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001495/0.001495, allocations: 76.48 kB / 0.6723 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2949, allocations: 114.6 MB / 0.7842 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.003868/0.2988, allocations: 1.824 MB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.3009, allocations: 1.246 MB / 0.7872 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.3014, allocations: 11.94 kB / 0.7872 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.3016, allocations: 63.27 kB / 0.7872 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.302, allocations: 67.39 kB / 0.7873 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.3023, allocations: 167.6 kB / 0.7874 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004907/0.3028, allocations: 477 kB / 0.7879 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000364/0.3032, allocations: 238.3 kB / 0.7881 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.3033, allocations: 167.3 kB / 0.7883 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.3035, allocations: 187 kB / 0.7885 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/0.3036, allocations: 52 kB / 0.7885 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.887e-05/0.3036, allocations: 51.94 kB / 0.7886 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.566e-05/0.3037, allocations: 91.69 kB / 0.7887 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.3038, allocations: 206.8 kB / 0.7889 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004272/0.3043, allocations: 0.5526 MB / 0.7894 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3043, allocations: 0 / 0.7894 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3043, allocations: 0 / 0.7894 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3043, allocations: 0 / 0.7894 GB, free: 7.324 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.00106/0.3054, allocations: 0.7248 MB / 0.7901 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3054, allocations: 8.031 kB / 0.7901 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.815e-05/0.3055, allocations: 52.38 kB / 0.7902 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.306, allocations: 359.8 kB / 0.7905 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.306, allocations: 25.03 kB / 0.7905 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.723e-05/0.3061, allocations: 36.38 kB / 0.7906 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.3066, allocations: 354.4 kB / 0.7909 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3066, allocations: 4.188 kB / 0.7909 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.3067, allocations: 19.92 kB / 0.7909 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.3067, allocations: 8 kB / 0.7909 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004734/0.3072, allocations: 250.5 kB / 0.7912 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.3088, allocations: 1.251 MB / 0.7924 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.3093, allocations: 198.7 kB / 0.7926 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.3095, allocations: 96.8 kB / 0.7927 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.3095, allocations: 8 kB / 0.7927 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.3096, allocations: 30.56 kB / 0.7927 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.3096, allocations: 3.938 kB / 0.7927 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.000575/0.3102, allocations: 263.7 kB / 0.793 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.3102, allocations: 110.8 kB / 0.7931 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.3106, allocations: 405.7 kB / 0.7935 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.3107, allocations: 29.7 kB / 0.7935 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.3108, allocations: 247.8 kB / 0.7937 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/0.3109, allocations: 55.19 kB / 0.7938 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.211e-05/0.311, allocations: 61.69 kB / 0.7938 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3111, allocations: 350.7 kB / 0.7942 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.3113, allocations: 104.8 kB / 0.7943 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.3116, allocations: 173.4 kB / 0.7944 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.312, allocations: 236.4 kB / 0.7947 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.312, allocations: 4 kB / 0.7947 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005426/0.3125, allocations: 324.8 kB / 0.795 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3126, allocations: 8 kB / 0.795 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3126, allocations: 0 / 0.795 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3126, allocations: 4 kB / 0.795 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.3128, allocations: 64.06 kB / 0.795 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3128, allocations: 4 kB / 0.795 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.3131, allocations: 47.66 kB / 0.7951 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.3131, allocations: 8 kB / 0.7951 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002016/0.3133, allocations: 188.8 kB / 0.7953 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001603/0.3135, allocations: 158.9 kB / 0.7954 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002213/0.3137, allocations: 184.8 kB / 0.7956 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.756e-06/0.3137, allocations: 11.88 kB / 0.7956 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0003476/0.314, allocations: 281.1 kB / 0.7959 GB, free: 296 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3141, allocations: 4 kB / 0.7959 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.3141, allocations: 4 kB / 0.7959 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-06/0.3141, allocations: 0 / 0.7959 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.3143, allocations: 51.92 kB / 0.7959 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.3143, allocations: 11.88 kB / 0.796 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.3145, allocations: 35.98 kB / 0.796 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.3145, allocations: 8 kB / 0.796 GB, free: 180 kB / 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.0001419/0.3146, allocations: 204.1 kB / 0.7962 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.3147, allocations: 35.53 kB / 0.7962 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.14e-05/0.3148, allocations: 35.25 kB / 0.7963 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3148, allocations: 4 kB / 0.7963 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3148, allocations: 0 / 0.7963 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.3148, allocations: 0 / 0.7963 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.3159, allocations: 0.6833 MB / 0.7969 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3159, allocations: 4 kB / 0.7969 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.3161, allocations: 27.98 kB / 0.797 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3161, allocations: 0 / 0.797 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.3161, allocations: 15.98 kB / 0.797 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3161, allocations: 4.062 kB / 0.797 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3161, allocations: 7.875 kB / 0.797 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/0.3168, allocations: 399.4 kB / 0.7974 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.795e-05/0.3169, allocations: 112.8 kB / 0.7975 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.3169, allocations: 4 kB / 0.7975 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.3171, allocations: 15.98 kB / 0.7975 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.3171, allocations: 11.92 kB / 0.7975 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3171, allocations: 8 kB / 0.7975 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003408/0.3175, allocations: 287.2 kB / 0.7978 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3175, allocations: 0 / 0.7978 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004387/0.3179, allocations: 123.5 kB / 0.7979 GB, free: 14.11 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.0001911/0.3181, allocations: 111.2 kB / 0.798 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007099/0.3189, allocations: 324.1 kB / 0.7983 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3189, allocations: 4.188 kB / 0.7983 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.319, allocations: 80.36 kB / 0.7984 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.3195, allocations: 67.27 kB / 0.7985 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.3208, allocations: 0.6366 MB / 0.7991 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.3211, allocations: 0.7918 MB / 0.7999 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.3213, allocations: 39.12 kB / 0.7999 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.963e-05/0.3214, allocations: 31.42 kB / 0.7999 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.3214, allocations: 0 / 0.7999 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of Templates: time 0.006858/0.3282, allocations: 3.321 MB / 0.8032 GB, free: 8.688 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)